getargs
A truly zero-cost argument parser for Rust (by j-tai)
cargo-supply-chain
Gather author, contributor and publisher data on crates in your dependency graph. (by rust-secure-code)
getargs | cargo-supply-chain | |
---|---|---|
6 | 20 | |
42 | 311 | |
- | 1.3% | |
0.0 | 4.9 | |
10 months ago | about 1 month ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
getargs
Posts with mentions or reviews of getargs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-08.
-
Announcement: xflags 3.0.0
Actually, I would say getargs on this one. Full disclosure, I'm a major contributor to the library, but it is also faster than lexopt, and provides a bit more control.
-
Inlining functions that will only ever be called once - is this a good convention?
I have benchmarked getargs to have significant performance gains from inlining.
-
How do i learn about new crates?
I'd recommend getargs over argparse, it's also very well documented (but that version is not on crates.io yet)
-
How to parse `strace -c ls -a` using clap?
It pains me that getargs 0.5.0 is still not released yet. If you can deal with a git dependency, I would highly recommend it, it can do exactly what you want with no fuss.
-
What's everyone working on this week (23/2022)?
I'm currently working on bringing up getargs, which was abandoned on crates.io over 2 years ago. It has an API design that I agree with and I wanted to make it great, so I'm giving it a visit from the PR fairy.
-
What are legitimate problems with Rust?
If it's perfectly fine then it shouldn't be terribly difficult to write it in a way that the borrow checker is happy with. The problem is reformulating your problem such that it's easy to either annotate the lifetimes in that way or have the compiler infer them for you. And it's made more difficult if your libraries have incorrectly elided lifetimes.
cargo-supply-chain
Posts with mentions or reviews of cargo-supply-chain.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-04.
-
Release of Structsy 0.5
Great news! Sounds like a good way to add caching to cargo supply-chain. There's a lot of small chunks of data we want to persist.
-
greater supply chain attack risk due to large dependency trees?
Shameless plug: https://github.com/rust-secure-code/cargo-supply-chain shows the supply chain attack surface for your Rust project.
-
Announcement: xflags 3.0.0
bpaf: https://github.com/rust-secure-code/cargo-supply-chain/blob/29bfcb256001cdef46830544b554d33c56602030/src/cli.rs
-
Yet another command line argument parser: bpaf 0.5.2
I'm very happy with it for cargo supply-chain. I appreciate that it has no unsafe code, no sprawling dependency tree, and supports OsStr in addition to just &str.
-
Best way to protect a project from supply chain attacks?
cargo supply-chain to see your attack surface for supply chain attacks
- Cargo-supply-chain: Rust author, contributor and publisher data for dep. crates
-
Comparing Rust supply chain safety tools
See also: cargo supply-chain
-
Yet another command line argument parser: bpaf 0.4.0
I've used bpaf for cargo supply-chain and I'm very happy with it.
-
Fundamental - finding out who you can fund in dependency tree
https://github.com/rust-secure-code/cargo-supply-chain can also help here.
-
Announcing `cargo supply-chain` v0.3: revamped CLI, separate JSON schema
cargo supply-chain list the publishers of all crates in your dependency graph. With it you can:
What are some alternatives?
When comparing getargs and cargo-supply-chain you can also consider the following projects:
faketty - Wrapper to exec a command in a pty, even if redirecting the output
cap-std - Capability-oriented version of the Rust standard library
async-fundamentals-initiative
paru - Feature packed AUR helper
lexopt - Minimalist pedantic command line parser
cargo-crev - A cryptographically verifiable code review system for the cargo (Rust) package manager.
xflags
cargo-auditable - Make production Rust binaries auditable
clap-rs - A full featured, fast Command Line Argument Parser for Rust
eve-rs - A simple, intuitive, express-like HTTP library
ponyc - Pony is an open-source, actor-model, capabilities-secure, high performance programming language
cargo-msrv - 🦀 Find the minimum supported Rust version (MSRV) for your project
getargs vs faketty
cargo-supply-chain vs cap-std
getargs vs async-fundamentals-initiative
cargo-supply-chain vs paru
getargs vs lexopt
cargo-supply-chain vs cargo-crev
getargs vs xflags
cargo-supply-chain vs cargo-auditable
getargs vs clap-rs
cargo-supply-chain vs eve-rs
getargs vs ponyc
cargo-supply-chain vs cargo-msrv