dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆215Updated 3 weeks ago
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 5 months ago
- Macro to repeat sequentially indexed copies of a fragment of code☆160Updated 3 weeks ago
- Fork of std::Arc with lots of utilities useful for FFI☆274Updated last week
- 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☆256Updated 3 weeks ago
- A scope for async_std and tokio to spawn non-static futures☆155Updated last year
- A library for to allow multiple return types by automatically generated enum.☆373Updated last month
- A lightweight version of pin-project written with declarative macros.☆263Updated 2 weeks ago
- Portable atomic types including support for 128-bit atomics, atomic float, etc.☆215Updated this week
- Compile-time string formatting☆258Updated 3 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆291Updated last week
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆171Updated last year
- Make trait methods callable without the trait in scope☆161Updated 3 weeks ago
- Statically-checked alternatives to RefCell and RwLock☆385Updated 3 months ago
- Define your own PhantomData☆158Updated 3 weeks ago
- Better reference counted strings for Rust☆139Updated last year
- Utility wrapper to send non send types to other threads safely☆185Updated 9 months ago
- Struct fields that are made read-only accessible to other modules☆262Updated 3 weeks ago
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆139Updated 7 months ago
- Cargo extension for running Criterion.rs benchmarks☆209Updated 7 months ago
- Lazy formatting utility macro for rust☆129Updated 2 years ago
- Manual segmented stacks for Rust☆330Updated this week
- Conditional compilation according to rustc compiler version☆390Updated 3 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆152Updated last month
- Utilities for working with impl traits in Rust.☆118Updated 11 months ago
- Bisects rustc, either nightlies or CI artifacts☆195Updated this week
- Append-only collections for Rust where borrows to entries can outlive insertions☆265Updated last month
- A Vec That Has a Smaller size_of☆152Updated 3 months ago
- Pull in every source file in a directory as a module☆179Updated 3 weeks ago
- "A very small syn"☆212Updated 11 months ago