A if/elif-like macro for Rust #[cfg] statements
☆632Nov 26, 2025Updated 3 months ago
Alternatives and similar repositories for cfg-if
Users that are interested in cfg-if are comparing it to the libraries listed below
Sorting:
- ☆903Feb 16, 2026Updated 2 weeks ago
- Macros for all your token pasting needs☆1,081Oct 6, 2024Updated last year
- Conditional compilation according to rustc compiler version☆393Feb 16, 2026Updated 2 weeks ago
- A macro to generate structures which behave like bitflags☆1,112Feb 13, 2026Updated 3 weeks ago
- Rust library for single assignment cells and lazy statics without macros☆2,065May 24, 2025Updated 9 months ago
- "Small vector" optimization for Rust: store up to a small number of items on the stack☆1,624Feb 16, 2026Updated 2 weeks ago
- Temporary file library for rust☆1,408Feb 24, 2026Updated last week
- A crate for safe and ergonomic pin-projection.☆704Feb 27, 2026Updated last week
- A small macro for defining lazy evaluated static variables in Rust.☆2,032Jan 29, 2025Updated last year
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆549Nov 4, 2025Updated 4 months ago
- Rust quasi-quoting☆1,524Feb 18, 2026Updated 2 weeks ago
- Parser for Rust source code☆3,298Updated this week
- Support for matching file paths against Unix shell style patterns.☆570Dec 2, 2025Updated 3 months ago
- A hash table with consistent order and fast iteration; access items by key or sequence index☆2,305Jan 7, 2026Updated last month
- Module initialization/global constructor functions for Rust☆960Dec 4, 2025Updated 3 months ago
- Some more derive(Trait) options☆2,078Feb 4, 2026Updated last month
- Subcommand to show result of macro expansion☆3,037Feb 12, 2026Updated 3 weeks ago
- Fast floating point to string conversion☆692Feb 16, 2026Updated 2 weeks ago
- Tar file reading/writing for Rust☆706Feb 27, 2026Updated last week
- A port of MUSL's libm to Rust.☆638Apr 20, 2025Updated 10 months ago
- Raw bindings to platform APIs for Rust☆2,499Updated this week
- Rust library for build scripts to compile C/C++ code into a Rust library☆2,093Feb 27, 2026Updated last week
- Extra iterator adaptors, iterator methods, free functions, and macros.☆3,097Feb 20, 2026Updated 2 weeks ago
- Compile time static maps for Rust☆2,107Updated this week
- Type erasure for async trait methods☆2,120Feb 16, 2026Updated 2 weeks ago
- derive(Error) for struct and enum error types☆5,367Feb 16, 2026Updated 2 weeks ago
- Numeric traits for generic mathematics in Rust☆918Jun 17, 2025Updated 8 months ago
- A fast bump allocation arena for Rust☆2,127Feb 26, 2026Updated last week
- Backtraces in Rust☆606Jan 25, 2026Updated last month
- Runtime for executing procedural macros as WebAssembly☆1,472Jan 21, 2026Updated last month
- Rust library allowing to register multiple handlers for the same signal☆838Feb 14, 2026Updated 3 weeks ago
- Parser and evaluator for Cargo's flavor of Semantic Versioning☆659Feb 16, 2026Updated 2 weeks ago
- Slab allocator for Rust☆879Jan 31, 2026Updated last month
- Rust port of Google's SwissTable hash map☆2,875Updated this week
- derive builder implementation for rust structs☆1,534Jan 2, 2026Updated 2 months ago
- Test harness for ui tests of compiler diagnostics☆959Feb 12, 2026Updated 3 weeks ago
- A string type for Rust that is not required to be valid UTF-8.☆1,041Feb 10, 2026Updated 3 weeks ago
- A collection of numeric types and traits for Rust.☆1,197Jan 25, 2025Updated last year
- Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives.☆3,286Feb 21, 2026Updated 2 weeks ago