Crate features / castaway
Feature flags · castaway 0.2.4 · from crates.io 2026-10-24
castaway features: what each one does, and the line to copy
Short answercastaway 0.2.4 has 2 features. By default it turns on std; add default-features = false to start from nothing.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | nothing else (a switch the code checks) | |
std | yes | alloc |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
More on castaway
Real downloads, dependents and alternatives: castaway crate data (626.3K real downloads a day, 25 dependents).
docs.rs feature list · crates.io · license MIT · edition 2018
Up next
Before you depend on itcastaway crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?