dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆202Updated 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:
- Safe, zero-cost downcasting for limited compile-time specialization.☆162Updated last week
- Graph the number of crates that depend on your crate over time☆241Updated last week
- Macro to repeat sequentially indexed copies of a fragment of code☆155Updated last week
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆294Updated 2 years ago
- A scope for async_std and tokio to spawn non-static futures☆134Updated last year
- Better reference counted strings for Rust☆126Updated 10 months ago
- A library for to allow multiple return types by automatically generated enum.☆367Updated 2 months ago
- A lightweight version of pin-project written with declarative macros.☆248Updated 3 weeks ago
- Statically-checked alternatives to RefCell and RwLock☆367Updated 11 months ago
- Conditional compilation according to rustc compiler version☆364Updated last week
- Compile-time string formatting☆236Updated 5 months ago
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆154Updated last year
- Fork of std::Arc with lots of utilities useful for FFI☆234Updated 3 weeks ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆262Updated last month
- Struct fields that are made read-only accessible to other modules☆251Updated last week
- Define your own PhantomData☆152Updated last week
- A fast, concurrent string interner☆150Updated 9 months ago
- "A very small syn"☆204Updated 3 months ago
- Append-only collections for Rust where borrows to entries can outlive insertions☆251Updated 2 months ago
- Make trait methods callable without the trait in scope☆146Updated this week
- Serialize and deserialize C-like enum as underlying repr☆243Updated last week
- Utilities for working with impl traits in Rust.☆109Updated 4 months ago
- Lazy formatting utility macro for rust☆127Updated last year
- Pull in every source file in a directory as a module☆173Updated 2 months ago
- Rust macro for automatically generating default☆141Updated last year
- Project group working on the "safe transmute" feature☆92Updated 8 months ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆143Updated 9 months ago
- A Cargo subcommand to build and test all feature flag combinations.☆157Updated last year
- An experimental linting interface for Rust. Let's make custom lints a reality☆148Updated last year
- ☆278Updated 3 months ago