Cargo Features
[dependencies]
tari_template_abi = { version = "0.7.0", default-features = false, features = ["std", "alloc", "ts"] }
- default = std
-
The
std
feature is set by default whenevertari_template_abi
is added without
somewhere in the dependency tree.default-features = false - std default
- alloc = hashbrown
-
TODO: look into how this is done properly
- 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.
- hashbrown alloc?
-
Enables hashbrown ^0.13.2
- ts-rs ts?
-
Enables ts-rs ^7.1