dtolnay / ref-cast
Safely cast &T to &U where the struct U contains a single field of type T.
☆188Updated last week
Related projects ⓘ
Alternatives and complementary repositories for ref-cast
- Safe, zero-cost downcasting for limited compile-time specialization.☆151Updated last month
- Graph the number of crates that depend on your crate over time☆232Updated this week
- Fork of std::Arc with lots of utilities useful for FFI☆216Updated last month
- Macro to repeat sequentially indexed copies of a fragment of code☆137Updated last week
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆114Updated 5 months ago
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆293Updated last year
- Better reference counted strings for Rust☆114Updated 4 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆245Updated 3 weeks ago
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆146Updated 8 months ago
- Compile-time string formatting☆214Updated 2 months ago
- Struct fields that are made read-only accessible to other modules☆223Updated last week
- ☆185Updated 7 months ago
- Determine whether characters have the XID_Start or XID_Continue properties☆76Updated this week
- A fast and flexible LRU map.☆170Updated 6 months ago
- Append-only collections for Rust where borrows to entries can outlive insertions☆228Updated 4 months ago
- A scope for async_std and tokio to spawn non-static futures☆122Updated 5 months ago
- A lightweight version of pin-project written with declarative macros.☆227Updated this week
- Make trait methods callable without the trait in scope☆135Updated last week
- Cargo extension for running Criterion.rs benchmarks☆186Updated 4 months ago
- A library for to allow multiple return types by automatically generated enum.☆351Updated 2 weeks ago
- "A very small syn"☆196Updated 7 months ago
- ☆171Updated this week
- Statically-checked alternatives to RefCell and RwLock☆366Updated 5 months ago
- Define your own PhantomData☆147Updated last week
- Delegation of trait implementations via procedural macros☆257Updated 4 months ago
- ☆230Updated 2 weeks ago
- Utilities for working with impl traits in Rust.☆96Updated 8 months ago
- Lazy formatting utility macro for rust☆125Updated 11 months ago
- Conditional compilation according to rustc compiler version☆334Updated last week
- Async synchronization primitives☆255Updated last month