Cargo Features

[dependencies]
offchain-utils = { version = "0.1.0", default-features = false, features = ["std", "frame-benchmarking"] }
default = std

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

std default

Enables std of parity-scale-codec, frame-support ^38.0.0, frame-system ^38.0.0, log, scale-info, serde, and sp-io ^38.0.0

serde:

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

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.

serde std
frame-benchmarking implicit feature

Enables frame-benchmarking ^38.0.0

frame-benchmarking:

Macro for benchmarking a FRAME runtime