Cargo Features

oracletraits = { version = "0.1.0", default-features = false, features = ["std", "ink-as-dependency", "e2e-tests", "scale-info"] }
default = std

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

std default

Enables std of ink, parity-scale-codec, and scale-info


Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

scale-info implicit feature

With derive