linkme
Safe cross-platform linker shenanigans (by dtolnay)
serde-plain
A serde serializer that serializes a subset of types into plain strings (by mitsuhiko)
linkme | serde-plain | |
---|---|---|
5 | 1 | |
222 | 48 | |
- | - | |
7.2 | 4.9 | |
over 2 years ago | 6 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | 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.
linkme
Posts with mentions or reviews of linkme.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-11.
-
Is there comptime reflection in Rust proc-macro?
You can make the code generated by your macro add to a distributed slice from the linkme crate and you can use values from that slice at compile time.
-
Match against function/symbol names
there was linkme which i think can be used for what you describe. from your perspective you get a slice and can put functions in it at link time with an attribute macro.
-
dtolnay/inventory got archived, is there an alternative ?
@dtolnay I noticed you just archived the repos for inventory, linkme, gflags, and typetag, which I assume implies a deprecation.
-
Is it possible to scan all structs/functions that have a specific #[macro] ?
An alternative to inventory which I find better for a lot of purposes: https://github.com/dtolnay/linkme
-
What's your favourite under-rated Rust crate and why?
I like dtolnay's inventory or linkme crates to register items in a central list, just using decentralized annotations.
serde-plain
Posts with mentions or reviews of serde-plain.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-07.
-
What's your favourite under-rated Rust crate and why?
serde-plain for easily converting enums to/from strings same as Serde usually does, but by themselves.
What are some alternatives?
When comparing linkme and serde-plain you can also consider the following projects:
inventory - Typed distributed plugin registration
strum - A small rust library for adding custom derives to enums
rust-djangohashers - A Rust port of the password primitives used in Django Project.
wg-allocators - Home of the Allocators working group: Paving a path for a standard set of allocator traits to be used in collections!
schemafy - Crate for generating rust types from a json schema
enum-map
redbpf - Rust library for building and running BPF/eBPF modules
enum-iterator - Tools to iterate over all values of a type
fuzzcheck-rs - Modular, structure-aware, and feedback-driven fuzzing engine for Rust functions
parse-size - Parse byte size into integer accurately.