Cargo Features

burn-dataset = { version = "0.12.1", default-features = false, features = ["audio", "fake", "sqlite", "sqlite-bundled", "vision", "doc"] }
default doc? = sqlite-bundled

The sqlite-bundled feature is set by default whenever burn-dataset is added without default-features = false somewhere in the dependency tree.

audio = hound

Affects burn-dataset::audio


Enables fake


Enables gix-tempfile ^11.0.0, image, r2d2, r2d2_sqlite ^0.23.0, rusqlite ^0.30.0, and serde_rusqlite ^0.34.0

Affects source::huggingface

sqlite-bundled default

Enables serde_rusqlite ^0.34.0, gix-tempfile ^11.0.0, image, r2d2, and r2d2_sqlite ^0.23.0, bundled of rusqlite ^0.30.0

Affects source::huggingface


Enables flate2, indicatif, reqwest, and tokio

Affects burn-dataset::vision

doc = default

Features from optional dependencies

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

hound audio?