sagebind / castaway
Safe, zero-cost downcasting for limited compile-time specialization.
☆156Updated 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.☆198Updated this week
- A scope for async_std and tokio to spawn non-static futures☆125Updated 8 months ago
- Pull in every source file in a directory as a module☆169Updated last week
- Macro to repeat sequentially indexed copies of a fragment of code☆142Updated 3 weeks ago
- Better reference counted strings for Rust☆118Updated 7 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆257Updated 2 months ago
- ☆65Updated 8 months ago
- Oneshot Rust channel working both in and between sync and async environments☆85Updated 2 weeks ago
- Extract documentation for the feature flags from comments in Cargo.toml☆177Updated this week
- Graph the number of crates that depend on your crate over time☆237Updated this week
- 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
- Make trait methods callable without the trait in scope☆135Updated 3 weeks ago
- Conditional compilation according to rustc compiler version☆346Updated 3 weeks ago
- Typed index version of Rust slice and Vec containers☆68Updated 4 months ago
- Procedural macro to implement Display and FromStr using common settings.☆184Updated 3 weeks ago
- This crate offers procedural macros designed to facilitate the swift implementation of Rust's built-in traits.☆139Updated 6 months ago
- A Cargo subcommand to build and test all feature flag combinations.☆151Updated last year
- A simple wrapper around filesystem operations to provide more helpful error messages.☆139Updated 3 weeks ago
- Const TypeId and non-'static TypeId☆60Updated last week
- Minimal asynchronous runtime for Rust☆126Updated 6 months ago
- A fast, concurrent string interner☆148Updated 6 months ago
- Fork of std::Arc with lots of utilities useful for FFI☆225Updated 3 weeks ago
- Migrated to Codeberg☆80Updated last year
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆293Updated 2 years ago
- Statically-checked alternatives to RefCell and RwLock☆367Updated 8 months ago
- More efficient alternative to `serde_json::Value` which saves memory by interning primitive values and using tagged pointers.☆131Updated 2 months ago
- ☆201Updated last month
- Const equivalents of std functions, compile-time comparison, and parsing.☆92Updated last month
- Cargo subcommand for viewing LLVM optimization remarks.☆174Updated 9 months ago
- A collection of small utilities for working with pointer types in Rust.☆119Updated last month