A if/elif-like macro for Rust #[cfg] statements
☆646Sep 16, 2026Updated 3 weeks 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:
- ☆945Aug 25, 2026Updated last month
- Conditional compilation according to rustc compiler version☆396Aug 3, 2026Updated 2 months ago
- A macro to generate structures which behave like bitflags☆1,163Sep 18, 2026Updated 3 weeks ago
- "Small vector" optimization for Rust: store up to a small number of items on the stack☆1,753Updated this week
- Rust library for single assignment cells and lazy statics without macros☆2,088Mar 12, 2026Updated 7 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆562Oct 6, 2026Updated last week
- Macros for all your token pasting needs☆1,091Oct 6, 2024Updated 2 years ago
- Temporary file library for rust☆1,469Updated this week
- A small macro for defining lazy evaluated static variables in Rust.☆2,034Sep 16, 2026Updated 3 weeks ago
- A crate for safe and ergonomic pin-projection.☆721Updated this week
- Rust quasi-quoting☆1,581Aug 22, 2026Updated last month
- A hash table with consistent order and fast iteration; access items by key or sequence index☆2,449Sep 5, 2026Updated last month
- Support for matching file paths against Unix shell style patterns.☆596Oct 8, 2026Updated last week
- Fast floating point to string conversion☆709Aug 6, 2026Updated 2 months ago
- 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.
- Backtraces in Rust☆630Sep 2, 2026Updated last month
- Link-time initialization, destruction, scattered data collection macros for Rust☆1,093Sep 12, 2026Updated last month
- Parser and evaluator for Cargo's flavor of Semantic Versioning☆672Jun 24, 2026Updated 3 months ago
- Parser for Rust source code☆3,434Updated this week
- A vector with a fixed capacity. (Rust)☆909Jul 19, 2026Updated 2 months ago
- Subcommand to show result of macro expansion☆3,134Updated this week
- Some more derive(Trait) options☆2,150Sep 7, 2026Updated last month
- Compile time static maps for Rust☆2,189Updated this week
- Rust library for build scripts to compile C/C++ code into a Rust library☆2,161Updated this week
- 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.
- Raw bindings to platform APIs for Rust☆2,628Updated this week
- Rust library allowing to register multiple handlers for the same signal☆874Oct 4, 2026Updated last week
- Tar file reading/writing for Rust☆740Sep 21, 2026Updated 3 weeks ago
- Numeric traits for generic mathematics in Rust☆975Jul 7, 2026Updated 3 months ago
- derive(Error) for struct and enum error types☆5,578Updated this week
- Slab allocator for Rust☆948Aug 16, 2026Updated last month
- A collection of numeric types and traits for Rust.☆1,228Jul 7, 2026Updated 3 months ago
- Extra iterator adaptors, iterator methods, free functions, and macros.☆3,177Oct 3, 2026Updated last week
- A fast bump allocation arena for Rust☆2,349Sep 16, 2026Updated 3 weeks ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Runtime for executing procedural macros as WebAssembly☆1,530Jul 19, 2026Updated 2 months ago
- Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives.☆3,428Updated this week
- derive builder implementation for rust structs☆1,542Jan 2, 2026Updated 9 months ago
- Rust port of Google's SwissTable hash map☆3,004Updated this week
- Type erasure for async trait methods☆2,208Sep 21, 2026Updated 3 weeks ago
- Optimized string search routines for Rust.☆1,583Aug 10, 2026Updated 2 months ago
- Test harness for ui tests of compiler diagnostics☆1,004Oct 7, 2026Updated last week