dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆216Updated last week
Alternatives and similar repositories for ref-cast
Users that are interested in ref-cast are comparing it to the libraries listed below
Sorting:
- A scope for async_std and tokio to spawn non-static futures☆155Updated last year
- Fork of std::Arc with lots of utilities useful for FFI☆276Updated last week
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆172Updated last year
- Macro to repeat sequentially indexed copies of a fragment of code☆161Updated last month
- Safe, zero-cost downcasting for limited compile-time specialization.☆179Updated 5 months ago
- Graph the number of crates that depend on your crate over time☆256Updated last week
- Better reference counted strings for Rust☆140Updated last year
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆290Updated 3 years ago
- Define your own PhantomData☆158Updated last month
- Make trait methods callable without the trait in scope☆162Updated last month
- A library for to allow multiple return types by automatically generated enum.☆374Updated 3 weeks ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆292Updated last month
- Compile-time string formatting☆261Updated 3 months ago
- Portable atomic types including support for 128-bit atomics, atomic float, etc.☆221Updated this week
- A lightweight version of pin-project written with declarative macros.☆268Updated 3 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated 2 months ago
- Statically-checked alternatives to RefCell and RwLock☆386Updated 4 months ago
- Struct fields that are made read-only accessible to other modules☆262Updated last month
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆139Updated 7 months ago
- "A very small syn"☆212Updated last year
- Utility wrapper to send non send types to other threads safely☆185Updated 10 months ago
- Delegation of trait implementations via procedural macros☆279Updated last month
- Lazy formatting utility macro for rust☆129Updated 2 years ago
- Procedural macro to implement Display and FromStr using common settings.☆191Updated last month
- Const equivalents of std functions, compile-time comparison, and parsing.☆119Updated 2 months ago
- Easy function multiversioning for Rust☆252Updated last year
- A simple bitset container for Rust☆160Updated 7 months ago
- Cargo extension for running Criterion.rs benchmarks☆209Updated 8 months ago
- ☆241Updated last week
- ☆204Updated 2 months ago