Cargo Features
[dependencies]
ts-rs-json-value = { version = "7.0.3", default-features = false, features = ["chrono-impl", "bigdecimal-impl", "uuid-impl", "bson-uuid-impl", "bytes-impl", "url-impl", "serde-compat", "format", "indexmap-impl", "ordered-float-impl", "heapless-impl", "serde-json-impl", "schemars-impl"] }
- default = serde-compat
-
The
serde-compat
feature is set by default wheneverts-rs-json-value
is added without
somewhere in the dependency tree.default-features = false - chrono-impl = chrono
- bigdecimal-impl = bigdecimal
- uuid-impl = uuid
- bson-uuid-impl = bson
- bytes-impl = bytes
- url-impl = url
- serde-compat default
-
Enables serde-compat of ts-rs-macros-serde-json
- format = dprint-plugin-typescript
- indexmap-impl = indexmap
- ordered-float-impl = ordered-float
- heapless-impl = heapless
- serde-json-impl = serde_json
- schemars-impl = schemars
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.
- heapless heapless-impl?
-
Enables heapless ^0.7
- dprint-plugin-typescript format?
-
Enables dprint-plugin-typescript ^0.85.1
- chrono chrono-impl?
- bigdecimal bigdecimal-impl?
-
Enables bigdecimal >=0.0.13, <0.4.0
- uuid uuid-impl?
- bson bson-uuid-impl?
- bytes bytes-impl?
- url url-impl?
- indexmap indexmap-impl?
- ordered-float ordered-float-impl?
-
Enables ordered-float ^3.0.0
- serde_json serde-json-impl?
- schemars schemars-impl?