getargs
A truly zero-cost argument parser for Rust (by j-tai)
uom
Units of measurement -- type-safe zero-cost dimensional analysis (by iliekturtles)
getargs | uom | |
---|---|---|
6 | 27 | |
42 | 958 | |
- | - | |
0.0 | 6.9 | |
10 months ago | 3 days 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.
uom
Posts with mentions or reviews of uom.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-10.
- Units of measurement – type-safe zero-cost dimensional analysis
-
What's everyone working on this week (28/2023)?
uom (type-safe zero-cost dimensional analysis) v0.35.0 got released today!
-
What's everyone working on this week (6/2023)?
It happened! v0.34.0 (crates.io) has been released.
-
What's everyone working on this week (4/2023)?
My hope is to release uom (type-safe zero-cost dimensional analysis) v0.34.0 this week. There have been a huge number of new quantities and units added since v0.33.0.
-
What's everyone working on this week (36/2022)?
I have been reviewing lots of PRs recently submitted to add many new units and quantities to uom (type-safe zero-cost dimensional analysis).
-
What's everyone working on this week (31/2022)?
I reviewed some PRs to add new units to uom (type-safe zero-cost dimensional analysis) yesterday and am really hoping to make progress on logarithmic units this week. no_std support is slowing down the later.
-
What's everyone working on this week (30/2022)?
Working on a PR to uom (type-safe zero-cost dimensional analysis) to support logarithmic units.
-
Is RUST aiming to build an ecosystem on scientific computing?
A great type system enables things like unit preserving calculations and Formal Methods.
-
Survey of bad error messages emitted by the "misuse" of trait heavy crates
Is it the error messages, or other parts of uom that make it unwieldy to use? Feedback welcome here or as a new issue.
-
What's everyone working on this week (26/2022)?
I'm working through reviewing the open PRs for uom (type-safe zero-cost dimensional analysis).
What are some alternatives?
When comparing getargs and uom you can also consider the following projects:
faketty - Wrapper to exec a command in a pty, even if redirecting the output
xv6-riscv - Xv6 for RISC-V
async-fundamentals-initiative
insect - High precision scientific calculator with support for physical units
lexopt - Minimalist pedantic command line parser
serde - Serialization framework for Rust
xflags
onnx - Open standard for machine learning interoperability
clap-rs - A full featured, fast Command Line Argument Parser for Rust
xlite - Query Excel spredsheets (.xlsx, .xls, .ods) using SQLite
ponyc - Pony is an open-source, actor-model, capabilities-secure, high performance programming language
Ruby Units - A unit handling library for ruby