Cargo Features
[dependencies]
jsonschema = { version = "0.29.0", default-features = false, features = ["resolve-http", "resolve-file", "resolve-async"] }
- default = resolve-file, resolve-http
-
These default features are set whenever
jsonschema
is added without
somewhere in the dependency tree.default-features = false - resolve-http default = reqwest
- resolve-file default
- resolve-async
-
Enables async-trait, reqwest and tokio, retrieve-async of referencing
Affects
jsonschema::async_validator_for
,jsonschema::async_options
…
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.