dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆215Updated 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 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 month
- Safe, zero-cost downcasting for limited compile-time specialization.☆175Updated 3 months ago
- Fork of std::Arc with lots of utilities useful for FFI☆262Updated this week
- Define your own PhantomData☆158Updated this week
- Graph the number of crates that depend on your crate over time☆253Updated last month
- A scope for async_std and tokio to spawn non-static futures☆152Updated last year
- A library for to allow multiple return types by automatically generated enum.☆373Updated 2 weeks ago
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆291Updated 2 years ago
- Better reference counted strings for Rust☆138Updated last year
- Compile-time string formatting☆248Updated last month
- A lightweight version of pin-project written with declarative macros.☆259Updated 2 weeks ago
- Statically-checked alternatives to RefCell and RwLock☆383Updated last month
- Portable atomic types including support for 128-bit atomics, atomic float, etc.☆205Updated 2 weeks ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆285Updated 2 weeks ago
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆136Updated 5 months ago
- Make trait methods callable without the trait in scope☆160Updated 3 weeks ago
- Utilities for working with impl traits in Rust.☆117Updated 9 months ago
- Struct fields that are made read-only accessible to other modules☆259Updated 3 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆151Updated 2 months ago
- FFI-compatible futures☆168Updated last month
- Utility wrapper to send non send types to other threads safely☆188Updated 7 months ago
- Lazy formatting utility macro for rust☆129Updated last year
- Append-only collections for Rust where borrows to entries can outlive insertions☆263Updated this week
- An experimental linting interface for Rust. Let's make custom lints a reality☆147Updated last year
- Pull in every source file in a directory as a module☆179Updated 3 weeks ago
- A fast and flexible LRU map.☆198Updated 10 months ago
- Conditional compilation according to rustc compiler version☆385Updated last month
- Delegation of trait implementations via procedural macros☆275Updated 2 months ago
- Procedural macro to implement Display and FromStr using common settings.☆188Updated 3 months ago