Crate features / zerofrom
Feature flags · zerofrom 0.1.8 · from crates.io 2026-10-24
zerofrom features: what each one does, and the line to copy
Short answerzerofrom 0.1.8 has 2 features. By default it turns on alloc; add default-features = false to start from nothing. It needs Rust 1.71.1 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | yes | nothing else (a switch the code checks) |
derive | dep:zerofrom-derive |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version zerofrom declares (rust-version), and the release that changed it:
- 0.1.3 (2023-09-22): Rust 1.66
- 0.1.4 (2024-05-28): Rust 1.67
- 0.1.5 (2024-11-23): Rust 1.71.1
- 0.1.6 (2025-02-26): Rust 1.81
- 0.1.7 (2026-04-01): Rust 1.71.1
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p zerofrom --precise <version>, or use resolver 3, which picks compatible versions for you.
More on zerofrom
Real downloads, dependents and alternatives: zerofrom crate data (2.5M real downloads a day, 27 dependents).
docs.rs feature list · crates.io · license Unicode-3.0 · edition 2021
Up next
Before you depend on itzerofrom crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?