dtolnay / readonly
Struct fields that are made read-only accessible to other modules
☆241Updated last month
Alternatives and similar repositories for readonly:
Users that are interested in readonly are comparing it to the libraries listed below
- A library for to allow multiple return types by automatically generated enum.☆364Updated 3 weeks ago
- Conditional compilation according to rustc compiler version☆351Updated last month
- Statically-checked alternatives to RefCell and RwLock☆368Updated 9 months ago
- Serialize and deserialize C-like enum as underlying repr☆239Updated last month
- Compile-time string formatting☆236Updated 4 months ago
- A lightweight version of pin-project written with declarative macros.☆244Updated 3 weeks ago
- a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows☆190Updated 2 years ago
- Boolean-valued predicate functions in Rust☆190Updated last week
- Graph the number of crates that depend on your crate over time☆237Updated this week
- Wrapper types to enable optimized handling of &[u8] and Vec<u8>☆338Updated last month
- Check if tables and items in a .toml file are lexically sorted☆231Updated 3 months ago
- Async synchronization primitives☆263Updated last week
- Procedural macro to implement Display and FromStr using common settings.☆184Updated last month
- Easy code duplicate with substitution for Rust☆240Updated 6 months ago
- Procedural macro for recursive async functions☆220Updated 2 months ago
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆513Updated last month
- Type that deserializes only from one specific value☆231Updated last month
- Safely cast &T to &U where the struct U contains a single field of type T.☆200Updated last month
- lazy static regular expressions checked at compile time☆207Updated 3 months ago
- A simple wrapper around filesystem operations to provide more helpful error messages.☆142Updated 2 months ago
- Cargo extension for running Criterion.rs benchmarks☆195Updated 9 months ago
- Procedural macros to derive numeric traits in Rust☆198Updated last year
- ☆197Updated 3 months ago
- ☆270Updated last month
- A set of alternative `derive` attributes for Rust☆436Updated 10 months ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆158Updated last month
- Append-only collections for Rust where borrows to entries can outlive insertions☆241Updated last month
- Macro to repeat sequentially indexed copies of a fragment of code☆154Updated last month
- Define your own PhantomData☆152Updated last month
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆294Updated 2 years ago