bitflags
derive_more
bitflags | derive_more | |
---|---|---|
1 | 3 | |
848 | 1,406 | |
2.0% | - | |
7.9 | 7.7 | |
about 1 month ago | 15 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
bitflags
-
What would you change about bitflags?
I’m collecting input in this issue if there’s anything you’d like to see done. I’m keen to hear about any burning issues you’ve run into!
derive_more
-
derive_more: can it be used to handle operator overloads for borrowed references?
Is there a way to use derive_more to handle the generation of binary operators with one or both referenced operands? For example, avoiding having to do this macro dance for every combination of MyVal and &MyVal, for every operator needed:
-
Is there a convenient way to convert a struct<T> (where all fields are of type T) into struct<U> where U: From<T>?
This fails to compile. Looking at the implementation for that macro I don't see a way to use it that would work: https://github.com/JelteF/derive_more/blob/master/impl/src/from.rs
-
Microsoft re-adds .NET hot-reload
tl;dr you can put commit hashes in the place where the parent comment put tags.
The PR interface actually exposes this for force-pushes, but the UI discovery for this is horrible. It turns out that the "force-pushed" part in the little message in the github UI is actually a link. This link points to the diff between the old and the new HEAD of the branch.
As an example you can look at this PR:
It has this little message somewhere down the page:
Monadic-Cat force-pushed the add-unwrap branch from e130dbe to 25235aa 4 months ago
If you then click that link you go to the "compare" page, which shows the diff between the two commits:
https://github.com/JelteF/derive_more/compare/e130dbe6b2a429...
Disclaimer: I'm a Micrsoft employe, but don't work on Github. I'm a daily user of Github though.
What are some alternatives?
rust-cpp - Embed C++ directly inside your rust code!
rust-derive-builder - derive builder implementation for rust structs
unseemly - Macros have types!
num - A collection of numeric types and traits for Rust.
nix - Rust friendly bindings to *nix APIs
rust-bitfield - This crate provides macros to generate bitfield-like struct.
xntsv - XNTSV program for detailed viewing of system structures for Windows.
syn-rsx - syn-powered parser for JSX-like TokenStreams
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
smallnum - Compile-time size optimization for numeric primitives.