A if/elif-like macro for Rust #[cfg] statements
☆636Nov 26, 2025Updated 4 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:
- ☆915Feb 16, 2026Updated 2 months ago
- Conditional compilation according to rustc compiler version☆394Mar 24, 2026Updated 3 weeks ago
- A macro to generate structures which behave like bitflags☆1,122Updated this week
- "Small vector" optimization for Rust: store up to a small number of items on the stack☆1,633Feb 16, 2026Updated 2 months ago
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆552Nov 4, 2025Updated 5 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Rust library for single assignment cells and lazy statics without macros☆2,074Mar 12, 2026Updated last month
- Macros for all your token pasting needs☆1,084Oct 6, 2024Updated last year
- Temporary file library for rust☆1,421Mar 14, 2026Updated last month
- A small macro for defining lazy evaluated static variables in Rust.☆2,027Jan 29, 2025Updated last year
- A crate for safe and ergonomic pin-projection.☆706Updated this week
- Rust quasi-quoting☆1,536Mar 25, 2026Updated 3 weeks ago
- A hash table with consistent order and fast iteration; access items by key or sequence index☆2,335Apr 9, 2026Updated last week
- Backtraces in Rust☆608Jan 25, 2026Updated 2 months ago
- Support for matching file paths against Unix shell style patterns.☆574Dec 2, 2025Updated 4 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.
- Fast floating point to string conversion☆693Feb 16, 2026Updated 2 months ago
- Parser and evaluator for Cargo's flavor of Semantic Versioning☆661Apr 4, 2026Updated last week
- Parser for Rust source code☆3,303Mar 26, 2026Updated 3 weeks ago
- A vector with a fixed capacity. (Rust)☆863Oct 19, 2024Updated last year
- Module initialization/global constructor functions for Rust☆970Apr 9, 2026Updated last week
- Subcommand to show result of macro expansion☆3,063Feb 12, 2026Updated 2 months ago
- Some more derive(Trait) options☆2,087Mar 6, 2026Updated last month
- Rust library allowing to register multiple handlers for the same signal☆847Apr 4, 2026Updated last week
- Compile time static maps for Rust☆2,123Updated this week
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Rust library for build scripts to compile C/C++ code into a Rust library☆2,112Updated this week
- Numeric traits for generic mathematics in Rust☆926Jun 17, 2025Updated 9 months ago
- Raw bindings to platform APIs for Rust☆2,515Updated this week
- Tar file reading/writing for Rust☆718Apr 4, 2026Updated last week
- derive(Error) for struct and enum error types☆5,397Mar 24, 2026Updated 3 weeks ago
- Slab allocator for Rust☆886Jan 31, 2026Updated 2 months ago
- A fast bump allocation arena for Rust☆2,167Apr 8, 2026Updated last week
- Extra iterator adaptors, iterator methods, free functions, and macros.☆3,109Apr 4, 2026Updated last week
- A collection of numeric types and traits for Rust.☆1,202Jan 25, 2025Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Optimized string search routines for Rust.☆1,414Feb 12, 2026Updated 2 months ago
- Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives.☆3,309Feb 21, 2026Updated last month
- Rust port of Google's SwissTable hash map☆2,902Updated this week
- Runtime for executing procedural macros as WebAssembly☆1,484Jan 21, 2026Updated 2 months ago
- derive builder implementation for rust structs☆1,534Jan 2, 2026Updated 3 months ago
- Test harness for ui tests of compiler diagnostics☆964Mar 25, 2026Updated 3 weeks ago
- A string type for Rust that is not required to be valid UTF-8.☆1,060Feb 10, 2026Updated 2 months ago