argparse-rosetta-rs
cargo-semver-checks
argparse-rosetta-rs | cargo-semver-checks | |
---|---|---|
10 | 18 | |
116 | 924 | |
0.9% | - | |
6.4 | 9.4 | |
5 days ago | 3 days ago | |
Python | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
argparse-rosetta-rs
-
Build a CLI with RUST | Live coding
It's clap and bpaf nowdays from fully featured ones. https://github.com/rosetta-rs/argparse-rosetta-rs
-
improvement suggestions on minigrep
"not enough arguments" is nice, but what arguments do you need to pass? Use cli option parser such as bpaf or clap to deal with that kind of stuff - they will generate --help for you for example. https://github.com/rosetta-rs/argparse-rosetta-rs
-
Crate List - Blessed.rs
We link to https://github.com/rosetta-rs/argparse-rosetta-rs for a full list. In such a competitive category, I don't think I can really recommend anything that doesn't handle non-utf8 arguments. I am considering adding bpaf to the recommendations in the "full" category, as they recently added this support.
-
clap 4.0.0, a Rust argument parser, is released!
Latest benchmark results Diff of clap v3 to clap v4
-
Yet another command line argument parser: bpaf 0.6.0
There's a nice overview made by /u/epage https://github.com/rosetta-rs/argparse-rosetta-rs/blob/main/docs/tradeoffs.md
-
(pre-announcing) clap 4.0, a Rust CLI argument parser
We collaborated on the trade-offs document though that doesn't reflect the upcoming release which expands on the parser flexibility.
- Design comparison of clap and bpaf (arg parsers)
-
[Media] gitnu: git status enumerated
For parsing people tend to use a parser, some are listed here: https://github.com/rosetta-rs/argparse-rosetta-rs
-
Yet another command line argument parser: bpaf 0.5.5
I've updated argparse-rosetta-rs (formerly argparse-benchmarks-rs).
cargo-semver-checks
-
Semver violations are common, better tooling is the answer
If you'd like to dig deeper, here are some links:
- cargo-semver-checks: https://github.com/obi1kenobi/cargo-semver-checks
- Trustfall query engine, which powers cargo-semver-checks: https://github.com/obi1kenobi/trustfall
- Trustfall playground, where you can query Rust library APIs in your browser -- for example, "which structs in `itertools` are importable by more than one path": https://play.predr.ag/rustdoc#?f=2&q=*3-Structs-importable-f...
- 10min conference talk on Trustfall: https://www.hytradboi.com/2022/how-to-query-almost-everythin...
I'm also giving a talk at P99 CONF in a few months about how Trustfall's new optimizations API made cargo-semver-checks over 2300x faster: https://twitter.com/PredragGruevski/status/16893002495908003...
- Cargo-semver-checks: Scan your Rust crate for semver violations
- cargo-semver-checks v0.20 and Trustfall v0.4 released — semver-check up to 2354x faster
-
err-as-you-go crate - anyhow meets thiserror
I strongly recommend that anybody creating new error types for public APIs read Study of std::io::Error by u/matklad to see some ways that error types can [need to] be future-proofed. I don't know if cargo-semver-checks can catch these issues when they're generated by a macro, but it'd be something people using this crate should carefully look into.
-
Re-exporting an enum with a type alias is breaking, but not major
cargo-semver-checks will implement a check for cases like this, and many other hazards like it. The check will be major, or minor, or just a hazard — whatever the overall community decides is right.
-
cargo-semver-checks v0.18.0: rustdoc caching, new lints & more
Full release notes: https://github.com/obi1kenobi/cargo-semver-checks/releases/tag/v0.18.0
-
cargo-semver-checks v0.17 is out: correct re-export handling
Release notes, TL;DR: Rust 1.65+ only, no more false positives due to moved+re-exported items.
- Semver implications of `#[non_exhaustive]` behavior on tuple/unit enum variants · Issue #304 · obi1kenobi/cargo-semver-checks
What are some alternatives?
argfile - Load additional CLI args from file
octosql-plugin-postgres
bpaf - Command line parser with applicative interface
ddl-diff - Generates SQL migrations by parsing and diffing DDL
clap-port-flag - Easily add address & port flags to CLIs using Clap
octosql-plugin-random_data - OctoSQL plugin serving random data
clap-permission-flag - Easily add permission flags to CLIs using Clap
prql-query - Query and transform data with PRQL
themes - Custom themes repository for Warp, a blazingly fast modern terminal built in Rust.
rustc-dev-guide - A guide to how rustc works and how to contribute to it.
go-sqlite3-stdlib - A standard library for mattn/go-sqlite3 including best-effort date parsing, url parsing, math/string functions, and stats aggregation functions