Very easy macro to turn stateful loops and async requests into a Stream
.
stream! {
while let Some(item) = next().await {
yield item;
}
}
Very easy macro to turn stateful loops and async requests into a Stream
.
stream! {
while let Some(item) = next().await {
yield item;
}
}
inlineable_string: An owned, grow-able UTF-8 string that stores small strings inline and avoids heap-allocation.
static_assertions: A crate that allows you to make assertions at compile time:
const DATA: &str = include_str!("path/to/string.txt");
const_assert!(DATA.len() < 512);
I almost hesitate to recommend this because it wants some (lots) more development but I'm kind of in awe of the work done so far in valid. Maybe with some more love and/or a fork it could be great!
waitlist - A queue of std::task::Waker
s that can be woken in order, or all at once. Useful for building synchronization structures between tasks in async rust (mutexes, condition variables, channels, etc).
I would like to self-nominate wundergraph here. It provides a static graphql API based on a relational database. It's build on top of diesel and juniper.
plotly for rust - Although it may seem like self-promoting I have to say having a plotting library that's on par with what's available in Python has allowed me to reach for Rust more often.
I'm interested, but the link is broken.
It looks like prodash has moved to GitHub - Byron/prodash: report progress of concurrent applications and display it in various ways
I'll nominate process_control. It makes it easy to terminate a process after a timeout, which is surprisingly difficult to do correctly. Different platforms have different types of identifiers, and some may be recycled for other processes.
Alchemy's readme says it's unmaintained.