A if/elif-like macro for Rust #[cfg] statements
☆636Nov 26, 2025Updated 5 months ago
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:
- ☆918Apr 19, 2026Updated 2 weeks ago
- Conditional compilation according to rustc compiler version☆394Mar 24, 2026Updated last month
- A macro to generate structures which behave like bitflags☆1,129Apr 14, 2026Updated 3 weeks ago
- "Small vector" optimization for Rust: store up to a small number of items on the stack☆1,638Apr 15, 2026Updated 2 weeks ago
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆552Nov 4, 2025Updated 6 months ago
- 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 for single assignment cells and lazy statics without macros☆2,081Mar 12, 2026Updated last month
- Macros for all your token pasting needs☆1,086Oct 6, 2024Updated last year
- Temporary file library for rust☆1,426Apr 28, 2026Updated last week
- A small macro for defining lazy evaluated static variables in Rust.☆2,029Jan 29, 2025Updated last year
- A crate for safe and ergonomic pin-projection.☆708Apr 15, 2026Updated 3 weeks ago
- Rust quasi-quoting☆1,538Mar 25, 2026Updated last month
- A hash table with consistent order and fast iteration; access items by key or sequence index☆2,353Updated this week
- Backtraces in Rust☆610Jan 25, 2026Updated 3 months ago
- Support for matching file paths against Unix shell style patterns.☆577Dec 2, 2025Updated 5 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Fast floating point to string conversion☆694Feb 16, 2026Updated 2 months ago
- Parser and evaluator for Cargo's flavor of Semantic Versioning☆663Apr 4, 2026Updated last month
- Parser for Rust source code☆3,312Apr 17, 2026Updated 2 weeks ago
- A vector with a fixed capacity. (Rust)☆865Updated this week
- Module initialization/global constructor functions for Rust☆979Updated this week
- Subcommand to show result of macro expansion☆3,072Feb 12, 2026Updated 2 months ago
- Some more derive(Trait) options☆2,099Apr 23, 2026Updated last week
- Rust library allowing to register multiple handlers for the same signal☆849Apr 4, 2026Updated last month
- Compile time static maps for Rust☆2,132Updated 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.
- Rust library for build scripts to compile C/C++ code into a Rust library☆2,121Updated this week
- Numeric traits for generic mathematics in Rust☆930Jun 17, 2025Updated 10 months ago
- Tar file reading/writing for Rust☆717Apr 4, 2026Updated last month
- Raw bindings to platform APIs for Rust☆2,531Updated this week
- derive(Error) for struct and enum error types☆5,418Mar 24, 2026Updated last month
- Slab allocator for Rust☆889Jan 31, 2026Updated 3 months ago
- Optimized string search routines for Rust.☆1,434Apr 21, 2026Updated 2 weeks ago
- A fast bump allocation arena for Rust☆2,180Apr 27, 2026Updated last week
- Extra iterator adaptors, iterator methods, free functions, and macros.☆3,117Updated this week
- 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.
- A collection of numeric types and traits for Rust.☆1,209Jan 25, 2025Updated last year
- Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives.☆3,326Feb 21, 2026Updated 2 months ago
- Rust port of Google's SwissTable hash map☆2,912Apr 20, 2026Updated 2 weeks ago
- Runtime for executing procedural macros as WebAssembly☆1,492Jan 21, 2026Updated 3 months ago
- derive builder implementation for rust structs☆1,536Jan 2, 2026Updated 4 months ago
- Test harness for ui tests of compiler diagnostics☆965Mar 25, 2026Updated last month
- Type erasure for async trait methods☆2,141Mar 24, 2026Updated last month