Cargo Features
[dependencies]
json_typegen_shared = { version = "0.7.0", default-features = false, features = ["unstable", "remote-samples", "local-samples", "option-parsing"] }
- default = local-samples, option-parsing, remote-samples
-
These default features are set whenever
json_typegen_shared
is added without
somewhere in the dependency tree.default-features = false - unstable
- remote-samples default = reqwest
- local-samples default
- option-parsing default = syn, synom
-
Affects
json_typegen_shared::parse
,json_typegen_shared::codegen_from_macro
,json_typegen_shared::codegen_from_macro_input
…
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.
- reqwest remote-samples
-
Enables reqwest ^0.9
- syn option-parsing
-
Enables syn ^0.11
- synom option-parsing