Cargo Features
[dependencies]
rocket-multipart = { version = "0.2.1", default-features = false, features = ["rand", "json"] }
- default = rand
-
The
rand
feature is set by default wheneverrocket-multipart
is added without
somewhere in the dependency tree.default-features = false - rand default
-
Enables rand
- json
-
Enables serde and serde_json
rocket-multipart has 3 features without comments.