Cargo Features
[dependencies]
tari_template_lib = { version = "0.7.0", default-features = false, features = ["std", "macro", "ts"] }
- default = macro, std
-
These default features are set whenever
tari_template_lib
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of serde and tari_bor
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - macro default = tari_template_macros
- ts = ts-rs
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.
- tari_template_macros macro
- ts-rs ts?
-
Enables ts-rs ^7.1