# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "burn-dataset" version = "0.15.0" authors = ["nathanielsimard "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library with simple dataset APIs for creating ML data pipelines" documentation = "https://docs.rs/burn-dataset" readme = "README.md" keywords = [ "deep-learning", "machine-learning", "data", ] categories = ["science"] license = "MIT OR Apache-2.0" repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-dataset" [package.metadata.cargo-udeps.ignore] normal = [ "strum", "strum_macros", ] [package.metadata.docs.rs] features = ["doc"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "burn_dataset" path = "src/lib.rs" [[example]] name = "hf_dataset" path = "examples/hf_dataset.rs" [[example]] name = "speech_commands" path = "examples/speech_commands.rs" [dependencies.burn-common] version = "0.15.0" features = ["network"] optional = true [dependencies.csv] version = "1.3.0" [dependencies.derive-new] version = "0.6.0" default-features = false [dependencies.dirs] version = "5.0.1" [dependencies.fake] version = "2.10.0" optional = true [dependencies.flate2] version = "1.0.34" optional = true [dependencies.gix-tempfile] version = "14.0.2" features = ["signals"] optional = true [dependencies.globwalk] version = "0.9.1" optional = true [dependencies.hound] version = "3.5.1" optional = true [dependencies.image] version = "0.25.2" optional = true [dependencies.polars] version = "0.41.3" features = ["lazy"] optional = true [dependencies.r2d2] version = "0.8.10" optional = true [dependencies.r2d2_sqlite] version = "0.25.0" optional = true [dependencies.rand] version = "0.8.5" features = [ "std_rng", "std", ] default-features = false [dependencies.rmp-serde] version = "1.3.0" [dependencies.rusqlite] version = "0.32.1" optional = true [dependencies.sanitize-filename] version = "0.5.0" [dependencies.serde] version = "1.0.210" features = [ "derive", "alloc", "std", "derive", ] default-features = false [dependencies.serde_json] version = "1.0.132" features = ["std"] default-features = false [dependencies.serde_rusqlite] version = "0.36.0" optional = true [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.tempfile] version = "3.13.0" [dependencies.thiserror] version = "1.0.64" [dev-dependencies.fake] version = "2.10.0" [dev-dependencies.rayon] version = "1.10.0" [dev-dependencies.rstest] version = "0.19.0" [features] __sqlite-shared = [ "dep:r2d2", "dep:r2d2_sqlite", "dep:serde_rusqlite", "dep:image", "dep:gix-tempfile", ] audio = ["hound"] dataframe = ["dep:polars"] default = ["sqlite-bundled"] doc = ["default"] fake = ["dep:fake"] sqlite = [ "__sqlite-shared", "dep:rusqlite", ] sqlite-bundled = [ "__sqlite-shared", "rusqlite/bundled", ] vision = [ "dep:flate2", "dep:globwalk", "dep:burn-common", "dep:image", ]