dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆216Updated 2 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.☆179Updated 5 months ago
- Define your own PhantomData☆158Updated last month
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆172Updated last year
- A scope for async_std and tokio to spawn non-static futures☆155Updated last year
- Graph the number of crates that depend on your crate over time☆256Updated last week
- Fork of std::Arc with lots of utilities useful for FFI☆278Updated 2 weeks ago
- Macro to repeat sequentially indexed copies of a fragment of code☆162Updated last month
- Compile-time string formatting☆262Updated 4 months ago
- Statically-checked alternatives to RefCell and RwLock☆387Updated 4 months ago
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆290Updated 3 years ago
- A library for to allow multiple return types by automatically generated enum.☆374Updated 3 weeks ago
- Make trait methods callable without the trait in scope☆162Updated last month
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆140Updated 8 months ago
- Better reference counted strings for Rust☆140Updated last year
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆293Updated last month
- Utility wrapper to send non send types to other threads safely☆186Updated 10 months ago
- Utilities for working with impl traits in Rust.☆121Updated last year
- Struct fields that are made read-only accessible to other modules☆263Updated last month
- 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
- "A very small syn"☆212Updated last year
- Cargo extension for running Criterion.rs benchmarks☆209Updated 8 months ago
- Conditional compilation according to rustc compiler version☆389Updated last month
- Append-only collections for Rust where borrows to entries can outlive insertions☆271Updated 2 weeks ago
- An experimental linting interface for Rust. Let's make custom lints a reality☆149Updated 2 years ago
- Bisects rustc, either nightlies or CI artifacts☆195Updated this week
- Manual segmented stacks for Rust☆332Updated last week
- Pull in every source file in a directory as a module☆181Updated 3 weeks ago
- FFI-compatible futures☆171Updated 4 months ago