Type that deserializes only from one specific value
☆270Feb 16, 2026Updated last month
Alternatives and similar repositories for monostate
Users that are interested in monostate are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Fake implementation of `std::Fn` for user-defined data types☆36Dec 18, 2022Updated 3 years ago
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆290Dec 18, 2022Updated 3 years ago
- Compile-time checks that an enum or match is written in sorted order☆122Feb 16, 2026Updated last month
- Find out path at which a deserialization error occurred☆418Feb 16, 2026Updated last month
- Make trait methods callable without the trait in scope☆163Feb 16, 2026Updated last month
- Safely cast &T to &U where the struct U contains a single field of type T.☆219Feb 16, 2026Updated last month
- A minimal `syn` syntax tree pretty-printer☆750Feb 9, 2026Updated last month
- Pull in every source file in a directory as a module☆181Feb 8, 2026Updated last month
- Macro to repeat sequentially indexed copies of a fragment of code☆165Feb 16, 2026Updated last month
- Conditional compilation according to rustc compiler version☆394Feb 16, 2026Updated last month
- A Rust proc-macro attribute parser☆1,239Jan 15, 2026Updated 2 months ago
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆78Dec 20, 2025Updated 3 months ago
- Indented document literals for Rust☆772Updated this week
- Serde serializable and deserializable trait objects☆1,488Feb 9, 2026Updated last month
- Cargo subcommand to provide various options useful for testing and continuous integration.☆808Mar 12, 2026Updated last week
- Struct fields that are made read-only accessible to other modules☆265Updated this week
- Minimal TOML library with few dependencies☆83Mar 3, 2025Updated last year
- Wrapper to exec a command in a pty, even if redirecting the output☆205Mar 13, 2026Updated last week
- This crate provides custom de/serialization helpers to use in combination with serde's `with`-annotation and with the improved `serde_as`…☆832Mar 13, 2026Updated last week
- ☆248Mar 8, 2026Updated 2 weeks ago
- ☆64Feb 16, 2026Updated last month
- Typed distributed plugin registration☆1,278Feb 19, 2026Updated last month
- Rust program for automerging PRs based on a few rules☆46Jun 5, 2024Updated last year
- ☆53Feb 8, 2026Updated last month
- Safe cross-platform linker shenanigans☆839Feb 19, 2026Updated last month
- Diff library with semantic cleanup, based on Google's diff-match-patch☆234Mar 15, 2026Updated last week
- List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations via C…☆540Mar 14, 2026Updated last week
- Test harness for ui tests of compiler diagnostics☆959Feb 12, 2026Updated last month
- Module initialization/global constructor functions for Rust☆963Dec 4, 2025Updated 3 months ago
- Atomic operations on potentially uninitialized integers.☆29Mar 14, 2026Updated last week
- Support atomic operations on Arc itself☆1,279Mar 1, 2026Updated 3 weeks ago
- Graph the number of crates that depend on your crate over time☆256Feb 2, 2026Updated last month
- Macros for all your token pasting needs☆1,081Oct 6, 2024Updated last year
- Safe, zero-cost downcasting for limited compile-time specialization.☆183Aug 11, 2025Updated 7 months ago
- Attribute macro to require that the compiler prove a function can't ever panic☆1,187Feb 8, 2026Updated last month
- Generating structured data from arbitrary, unstructured input.☆855Mar 13, 2026Updated last week
- Serde Visitor for deserializing untagged enums☆71Feb 16, 2026Updated last month
- Checksum of a directory tree☆47Mar 13, 2026Updated last week
- Append-only collections for Rust where borrows to entries can outlive insertions☆274Jan 23, 2026Updated 2 months ago