Crate features / foreign-types
Feature flags · foreign-types 0.5.0 · from crates.io 2026-10-24
foreign-types features: what each one does, and the line to copy
Short answerforeign-types 0.5.0 has 1 feature. By default it turns on std; add default-features = false to start from nothing.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
std | yes | foreign-types-macros/std |
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 foreign-types
Real downloads, dependents and alternatives: foreign-types crate data (1.1M real downloads a day, 171 dependents).
docs.rs feature list · crates.io · license MIT/Apache-2.0 · edition 2018
Up next
Before you depend on itforeign-types crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?