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 whenever tari_template_abi is added without default-features = false somewhere in the dependency tree.

std default

Enables std of tari_bor

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