Cargo Features
[dependencies]
jsonptr = { version = "0.6.3", default-features = false, features = ["std", "assign", "delete", "json", "resolve", "toml", "syn"] }
- default = assign, delete, json, resolve, serde, std
-
These default features are set whenever
jsonptr
is added without
somewhere in the dependency tree.default-features = false - std default toml?
-
Enables std of serde and optional serde_json
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - assign default
-
Affects
jsonptr::assign
… - delete default = resolve
-
Affects
jsonptr::delete
… - json default = serde
-
Enables serde_json
- resolve default delete
-
Affects
jsonptr::resolve
… - toml = serde, std
-
Enables toml
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.