sagebind / castaway
Safe, zero-cost downcasting for limited compile-time specialization.
☆157Updated last month
Alternatives and similar repositories for castaway:
Users that are interested in castaway are comparing it to the libraries listed below
- Safely cast &T to &U where the struct U contains a single field of type T.☆200Updated last month
- Macro to repeat sequentially indexed copies of a fragment of code☆154Updated last month
- "A very small syn"☆202Updated 2 months ago
- Define your own PhantomData☆152Updated last month
- Conditional compilation according to rustc compiler version☆351Updated last month
- Lazy formatting utility macro for rust☆127Updated last year
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆294Updated 2 years ago
- Extract documentation for the feature flags from comments in Cargo.toml☆178Updated 2 weeks ago
- Better reference counted strings for Rust☆120Updated 8 months ago
- Rust library for typesystem-assisted bitflags.☆119Updated 2 months ago
- Pull in every source file in a directory as a module☆171Updated last month
- Graph the number of crates that depend on your crate over time☆236Updated 2 weeks ago
- Oneshot Rust channel working both in and between sync and async environments☆87Updated last month
- Statically-checked alternatives to RefCell and RwLock☆368Updated 9 months ago
- A fast, concurrent string interner☆149Updated 7 months ago
- Temporarily take ownership of a value at a mutable location, and replace it with a new value based on the old one.☆109Updated 2 years ago
- Type that deserializes only from one specific value☆231Updated last month
- Migrated to Codeberg☆80Updated last year
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆141Updated 8 months ago
- Utility wrapper to send non send types to other threads safely☆179Updated 2 weeks ago
- An experimental linting interface for Rust. Let's make custom lints a reality☆148Updated last year
- Typed index version of Rust slice and Vec containers☆69Updated 6 months ago
- Make trait methods callable without the trait in scope☆136Updated last month
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆261Updated this week
- A collection of small utilities for working with pointer types in Rust.☆124Updated 2 months ago
- Open a scope and then freeze it in time for future access.☆107Updated 7 months ago
- Compile-time string formatting☆236Updated 4 months ago
- ☆111Updated 2 years ago
- ☆204Updated last week
- A flexible, simple to use, immutable, clone-efficient String replacement for Rust☆151Updated 8 months ago