Cargo Features
Beatrice has no features set by default.
[dependencies]
beatrice = { version = "0.3.2", features = ["json", "urlencoded", "include_dir"] }
- json = serde, serde_json
- urlencoded = serde, serde_urlencoded
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- include_dir implicit feature
-
Enables include_dir
include_dir:
Embed the contents of a directory in your binary
- serde json? urlencoded?
- serde_json json?
- serde_urlencoded urlencoded?