dtolnay / readonly
Struct fields that are made read-only accessible to other modules
☆241Updated 2 months ago
Alternatives and similar repositories for readonly:
Users that are interested in readonly are comparing it to the libraries listed below
- Conditional compilation according to rustc compiler version☆351Updated 2 months ago
- A library for to allow multiple return types by automatically generated enum.☆366Updated last month
- Serialize and deserialize C-like enum as underlying repr☆242Updated 2 months ago
- Check if tables and items in a .toml file are lexically sorted☆234Updated 4 months ago
- Wrapper types to enable optimized handling of &[u8] and Vec<u8>☆338Updated last month
- Statically-checked alternatives to RefCell and RwLock☆367Updated 10 months ago
- Easy code duplicate with substitution for Rust☆241Updated 7 months ago
- Compile-time string formatting☆235Updated 4 months ago
- ☆272Updated 2 months ago
- Graph the number of crates that depend on your crate over time☆238Updated this week
- Boolean-valued predicate functions in Rust☆191Updated last month
- A lightweight version of pin-project written with declarative macros.☆245Updated this week
- Async synchronization primitives☆267Updated last month
- x-www-form-urlencoded meets Serde☆246Updated 8 months ago
- Delegation of trait implementations via procedural macros☆264Updated 9 months ago
- ☆306Updated 3 weeks ago
- Define your own PhantomData☆152Updated 2 months ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆160Updated 2 months ago
- lazy static regular expressions checked at compile time☆211Updated 4 months ago
- a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows☆192Updated 2 years ago
- ☆206Updated 3 weeks ago
- Extract documentation for the feature flags from comments in Cargo.toml☆178Updated last month
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆518Updated 2 months ago
- Procedural macro for recursive async functions☆223Updated 3 months ago
- ☆182Updated 2 months ago
- Safely cast &T to &U where the struct U contains a single field of type T.☆200Updated 2 months ago
- Faster, more compact implementation of std::Cow☆351Updated 2 years ago
- Type that deserializes only from one specific value☆231Updated 2 months ago
- Safe-to-use proc-macro-free self-referential structs in stable Rust.☆262Updated 3 weeks ago
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆294Updated 2 years ago