Cargo Features

[dependencies]
substrate-ai = { version = "2.0.2", default-features = false, features = ["std"] }
default = std

The std feature is set by default whenever substrate-ai is added without default-features = false somewhere in the dependency tree.

std default

Enables use-std of postcard ^0.5.1, std of parity-scale-codec ^1.3.4, frame-support ^2.0.0, and frame-system ^2.0.0 and std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

substrate-ai has 2 features without comments.