dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆215Updated last month
Alternatives and similar repositories for ref-cast
Users that are interested in ref-cast are comparing it to the libraries listed below
Sorting:
- Safe, zero-cost downcasting for limited compile-time specialization.☆178Updated 4 months ago
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆169Updated last year
- Macro to repeat sequentially indexed copies of a fragment of code☆160Updated last week
- Fork of std::Arc with lots of utilities useful for FFI☆268Updated last month
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆291Updated 3 years ago
- Graph the number of crates that depend on your crate over time☆254Updated this week
- A scope for async_std and tokio to spawn non-static futures☆154Updated last year
- Better reference counted strings for Rust☆139Updated last year
- A library for to allow multiple return types by automatically generated enum.☆373Updated 2 weeks ago
- Make trait methods callable without the trait in scope☆161Updated this week
- Statically-checked alternatives to RefCell and RwLock☆384Updated 3 months ago
- Compile-time string formatting☆256Updated 2 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆289Updated 3 weeks ago
- Define your own PhantomData☆158Updated this week
- A lightweight version of pin-project written with declarative macros.☆263Updated 2 weeks ago
- Pull in every source file in a directory as a module☆179Updated this week
- Struct fields that are made read-only accessible to other modules☆260Updated this week
- Utility wrapper to send non send types to other threads safely☆186Updated 8 months ago
- Procedural macro to implement Display and FromStr using common settings.☆192Updated last week
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated 3 weeks ago
- Utilities for working with impl traits in Rust.☆118Updated 10 months ago
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆138Updated 6 months ago
- Cargo extension for running Criterion.rs benchmarks☆209Updated 7 months ago
- ☆240Updated 4 months ago
- Lazy formatting utility macro for rust☆129Updated 2 years ago
- Manual segmented stacks for Rust☆328Updated last month
- ☆200Updated last month
- Bisects rustc, either nightlies or CI artifacts☆195Updated last week
- "A very small syn"☆212Updated 10 months ago
- ☆100Updated 3 months ago