Cargo Features

[dependencies]
av1-grain = { version = "0.2.3", default-features = false, features = ["unstable", "create", "diff", "estimate", "parse", "serialize"] }
default = create, diff, estimate, parse

These default features are set whenever av1-grain is added without default-features = false somewhere in the dependency tree.

unstable

Affects create::generate_film_grain_params

create default
diff default = num-rational, v_frame

Affects util::frame_into_u8

estimate default = v_frame
parse default = nom
serialize = serde

Enables serde of arrayvec

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.

nom parse
num-rational diff
serde serialize?
v_frame diff estimate