linkme
futures-batch
linkme | futures-batch | |
---|---|---|
5 | 3 | |
222 | 73 | |
- | - | |
7.2 | 0.0 | |
over 2 years ago | over 1 year ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | 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.
linkme
-
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.
futures-batch
-
Hey Rustaceans! Got an easy question? Ask here (52/2021)!
Is there any ready-made way of doing that or do I have to roll my own? I found futures-batch but I can't make it work with tokio channels. I feel like I'm missing something obvious.
- What's your favourite under-rated Rust crate and why?
-
Rust stream processor.
Might be helpful: https://github.com/mre/futures-batch
What are some alternatives?
inventory - Typed distributed plugin registration
retainer - Minimal async cache in Rust with support for key expirations
rust-djangohashers - A Rust port of the password primitives used in Django Project.
fast-socks5 - Fast SOCKS5 client/server implementation written in Rust async/.await (with tokio)
schemafy - Crate for generating rust types from a json schema
sonyflake-rs - 🃏 A distributed unique ID generator inspired by Twitter's Snowflake.
redbpf - Rust library for building and running BPF/eBPF modules
phpass - PHPass, the WordPress password hasher, re-implemented in rust
fuzzcheck-rs - Modular, structure-aware, and feedback-driven fuzzing engine for Rust functions
rumqtt - The MQTT ecosystem in rust
parse-size - Parse byte size into integer accurately.
enum-map