A if/elif-like macro for Rust #[cfg] statements
☆646Sep 16, 2026Updated 2 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:
- ☆949Nov 16, 2026Updated last week
- A macro to generate structures which behave like bitflags☆1,200Oct 17, 2026Updated last month
- 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,772Updated this week
- Temporary file library for rust☆1,473Updated this week
- 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.
- Macros for all your token pasting needs☆1,089Oct 6, 2024Updated 2 years ago
- The enum Either with variants Left and Right is a general purpose sum type with two cases.☆564Oct 6, 2026Updated last month
- Rust quasi-quoting☆1,603Updated this week
- Rust library for single assignment cells and lazy statics without macros☆2,111Mar 12, 2026Updated 8 months ago
- A small macro for defining lazy evaluated static variables in Rust.☆2,032Sep 16, 2026Updated 2 months ago
- A crate for safe and ergonomic pin-projection.☆723Updated this week
- Subcommand to show result of macro expansion☆3,148Updated this week
- Some more derive(Trait) options☆2,157Sep 7, 2026Updated 2 months ago
- A hash table with consistent order and fast iteration; access items by key or sequence index☆2,482Sep 5, 2026Updated 2 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.
- Numeric traits for generic mathematics in Rust☆981Jul 7, 2026Updated 4 months ago
- Parser for Rust source code☆3,461Updated this week
- A vector with a fixed capacity. (Rust)☆916Updated this week
- Support for matching file paths against Unix shell style patterns.☆599Oct 8, 2026Updated last month
- Backtraces in Rust☆634Nov 17, 2026Updated last week
- Fast floating point to string conversion☆712Aug 6, 2026Updated 3 months ago
- Rust library for build scripts to compile C/C++ code into a Rust library☆2,168Updated this week
- A small rust library for adding custom derives to enums☆2,480Oct 25, 2026Updated 3 weeks ago
- Raw bindings to platform APIs for Rust☆2,648Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Type erasure for async trait methods☆2,208Nov 16, 2026Updated last week
- Rust port of Google's SwissTable hash map☆3,019Updated this week
- Rust library allowing to register multiple handlers for the same signal☆885Oct 31, 2026Updated 3 weeks ago
- Compile time static maps for Rust☆2,216Updated this week
- Extra iterator adaptors, iterator methods, free functions, and macros.☆3,183Updated this week
- A collection of numeric types and traits for Rust.☆1,231Jul 7, 2026Updated 4 months ago
- Just, really the littlest Vec you could need. So smol.☆758Nov 5, 2026Updated 2 weeks ago
- derive(Error) for struct and enum error types☆5,647Updated this week
- A string type for Rust that is not required to be valid UTF-8.☆1,133Updated 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.
- A fast bump allocation arena for Rust☆2,390Nov 13, 2026Updated last week
- Link-time initialization, destruction, scattered data collection macros for Rust☆1,103Nov 14, 2026Updated last week
- Tar file reading/writing for Rust☆748Nov 9, 2026Updated 2 weeks ago
- Parser and evaluator for Cargo's flavor of Semantic Versioning☆677Jun 24, 2026Updated 5 months ago
- Slab allocator for Rust☆955Updated this week
- A Rust proc-macro attribute parser☆1,277Oct 29, 2026Updated 3 weeks ago
- URL parser for Rust☆1,590Updated this week
Are these results useful?