Cargo Features

[dependencies]
fuel-vm = { version = "0.49.0", default-features = false, features = ["std", "alloc", "profile-coverage", "arbitrary", "profile-any", "random", "serde", "test-helpers", "backtrace"] }
default = std

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

std default = alloc

Enables use_std of itertools ^0.10, std of fuel-asm, fuel-crypto, fuel-tx, and fuel-types

alloc std test-helpers?

Enables alloc of fuel-asm and fuel-tx

profile-gas profile-coverage = profile-any
arbitrary

Enables arbitrary of fuel-asm

profile-any profile-coverage? profile-gas? = dyn-clone

All profiling features should depend on this

Affects fuel-vm::profiler

random test-helpers? = rand

Enables random of fuel-crypto, fuel-tx, and fuel-types

serde

Enables serde and serde_with and serde of fuel-asm, fuel-merkle, fuel-tx, fuel-types, hashbrown, and optional backtrace

backtrace:

requires debug symbols to work

test-helpers = alloc, random

Enables anyhow, test-helpers of fuel-crypto and fuel-tx

Affects checked_transaction::builder

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.

backtrace implicit feature
dyn-clone profile-any?
rand random?