dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆209Updated 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.☆166Updated 3 weeks ago
- Macro to repeat sequentially indexed copies of a fragment of code☆156Updated last month
- A scope for async_std and tokio to spawn non-static futures☆138Updated last year
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆157Updated last year
- Graph the number of crates that depend on your crate over time☆251Updated last month
- Fork of std::Arc with lots of utilities useful for FFI☆244Updated 3 weeks ago
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆292Updated 2 years ago
- Better reference counted strings for Rust☆130Updated 11 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆269Updated 3 months ago
- Compile-time string formatting☆238Updated 7 months ago
- A library for to allow multiple return types by automatically generated enum.☆369Updated 3 months ago
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆128Updated last month
- Conditional compilation according to rustc compiler version☆366Updated last month
- Define your own PhantomData☆155Updated this week
- Statically-checked alternatives to RefCell and RwLock☆368Updated last year
- A lightweight version of pin-project written with declarative macros.☆251Updated last week
- Make trait methods callable without the trait in scope☆149Updated last month
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆147Updated 11 months ago
- Struct fields that are made read-only accessible to other modules☆252Updated last month
- A simple bitset container for Rust☆145Updated 2 weeks ago
- Utilities for working with impl traits in Rust.☆109Updated 5 months ago
- Cargo extension for running Criterion.rs benchmarks☆202Updated last month
- Easy function multiversioning for Rust☆228Updated 7 months ago
- Portable atomic types including support for 128-bit atomics, atomic float, etc.☆190Updated this week
- Lazy formatting utility macro for rust☆127Updated last year
- Bisects rustc, either nightlies or CI artifacts☆186Updated last month
- Append-only collections for Rust where borrows to entries can outlive insertions☆252Updated 4 months ago
- A simple Cross-platform thread schedule and priority library for rust.☆132Updated 3 weeks ago
- Pull in every source file in a directory as a module☆173Updated 4 months ago
- A fast, concurrent string interner☆150Updated 10 months ago