A if/elif-like macro for Rust #[cfg] statements
☆646Sep 16, 2026Updated last month
Alternatives and similar repositories for cfg-if
Users that are interested in cfg-if are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ☆946Aug 25, 2026Updated 2 months ago
- A macro to generate structures which behave like bitflags☆1,171Oct 17, 2026Updated 2 weeks ago
- Conditional compilation according to rustc compiler version☆396Aug 3, 2026Updated 3 months ago
- 'Small vector' optimization for Rust: store up to a small number of items on the stack☆1,763Updated this week
- Temporary file library for rust☆1,473Updated this week
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Macros for all your token pasting needs☆1,090Oct 6, 2024Updated 2 years ago
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆563Oct 6, 2026Updated 3 weeks ago
- Rust quasi-quoting☆1,584Oct 25, 2026Updated last week
- Rust library for single assignment cells and lazy statics without macros☆2,085Mar 12, 2026Updated 7 months ago
- A crate for safe and ergonomic pin-projection.☆722Updated this week
- A small macro for defining lazy evaluated static variables in Rust.☆2,032Sep 16, 2026Updated last month
- Subcommand to show result of macro expansion☆3,139Oct 9, 2026Updated 3 weeks ago
- Some more derive(Trait) options☆2,153Sep 7, 2026Updated last month
- A hash table with consistent order and fast iteration; access items by key or sequence index☆2,456Sep 5, 2026Updated 2 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Numeric traits for generic mathematics in Rust☆977Jul 7, 2026Updated 3 months ago
- A vector with a fixed capacity. (Rust)☆915Jul 19, 2026Updated 3 months ago
- Parser for Rust source code☆3,438Updated this week
- Support for matching file paths against Unix shell style patterns.☆597Oct 8, 2026Updated 3 weeks ago
- Fast floating point to string conversion☆709Aug 6, 2026Updated 2 months ago
- Rust library for build scripts to compile C/C++ code into a Rust library☆2,165Updated this week
- A small rust library for adding custom derives to enums☆2,471Oct 25, 2026Updated last week
- Backtraces in Rust☆632Oct 28, 2026Updated last week
- Raw bindings to platform APIs for Rust☆2,642Updated this week
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Rust library allowing to register multiple handlers for the same signal☆881Updated this week
- Compile time static maps for Rust☆2,188Updated this week
- Type erasure for async trait methods☆2,207Sep 21, 2026Updated last month
- A collection of numeric types and traits for Rust.☆1,229Jul 7, 2026Updated 3 months ago
- Rust port of Google's SwissTable hash map☆3,009Updated this week
- Extra iterator adaptors, iterator methods, free functions, and macros.☆3,177Updated this week
- A string type for Rust that is not required to be valid UTF-8.☆1,125Aug 10, 2026Updated 2 months ago
- derive(Error) for struct and enum error types☆5,587Oct 16, 2026Updated 2 weeks ago
- Just, really the littlest Vec you could need. So smol.☆754Sep 16, 2026Updated last month
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- A fast bump allocation arena for Rust☆2,368Oct 16, 2026Updated 2 weeks ago
- Link-time initialization, destruction, scattered data collection macros for Rust☆1,098Sep 12, 2026Updated last month
- Tar file reading/writing for Rust☆745Sep 21, 2026Updated last month
- Heapless, `static` friendly data structures☆2,035Updated this week
- Parser and evaluator for Cargo's flavor of Semantic Versioning☆674Jun 24, 2026Updated 4 months ago
- A Rust proc-macro attribute parser☆1,276Updated this week
- Slab allocator for Rust☆949Aug 16, 2026Updated 2 months ago