dtolnay / ref-castLinks
Safely cast &T to &U where the struct U contains a single field of type T.
☆208Updated 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.☆165Updated this week
- A procedure macro to unify SYNC and ASYNC implementation for downstream application/crates☆156Updated last year
- A scope for async_std and tokio to spawn non-static futures☆135Updated last year
- Graph the number of crates that depend on your crate over time☆248Updated last week
- Macro to repeat sequentially indexed copies of a fragment of code☆155Updated last month
- Fork of std::Arc with lots of utilities useful for FFI☆238Updated this week
- Better reference counted strings for Rust☆126Updated 11 months ago
- A lightweight version of pin-project written with declarative macros.☆249Updated last month
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆292Updated 2 years ago
- Define your own PhantomData☆152Updated last month
- A library for to allow multiple return types by automatically generated enum.☆367Updated 2 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆266Updated 2 months ago
- "A very small syn"☆204Updated 4 months ago
- RcLite: small, fast, and memory-friendly reference counting for Rust☆183Updated 2 months ago
- Utilities for working with impl traits in Rust.☆109Updated 4 months ago
- Statically-checked alternatives to RefCell and RwLock☆368Updated 11 months ago
- Make trait methods callable without the trait in scope☆147Updated 3 weeks ago
- Conditional compilation according to rustc compiler version☆365Updated 3 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆144Updated 10 months ago
- Struct fields that are made read-only accessible to other modules☆251Updated last month
- A tiny utility to help save you a lot of effort with long winded `#[cfg()]` checks in Rust.☆79Updated 2 months ago
- Async synchronization primitives☆269Updated 2 months ago
- An experimental linting interface for Rust. Let's make custom lints a reality☆148Updated last year
- Rust library for typesystem-assisted bitflags.☆125Updated last week
- A simple bitset container for Rust☆143Updated last month
- A fast and flexible LRU map.☆185Updated 5 months ago
- Cross-platform atomic wait and wake (aka futex) functionality for Rust.☆127Updated 2 weeks ago
- Serialize and deserialize C-like enum as underlying repr☆246Updated last month
- Utility wrapper to send non send types to other threads safely☆182Updated 2 months ago
- FFI-compatible futures☆165Updated this week