burn/crates/burn-dataset/Cargo.toml

71 lines
2.2 KiB
TOML
Raw Permalink Normal View History

2022-08-21 21:42:42 +08:00
[package]
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
categories = ["science"]
description = "Library with simple dataset APIs for creating ML data pipelines"
edition.workspace = true
2022-08-21 21:42:42 +08:00
keywords = ["deep-learning", "machine-learning", "data"]
license.workspace = true
name = "burn-dataset"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-dataset"
documentation = "https://docs.rs/burn-dataset"
version.workspace = true
2022-08-21 21:42:42 +08:00
2022-08-22 23:21:22 +08:00
[features]
default = ["sqlite-bundled"]
doc = ["default"]
2023-12-02 03:33:28 +08:00
audio = ["hound"]
2022-08-22 23:21:22 +08:00
fake = ["dep:fake"]
sqlite = ["__sqlite-shared", "dep:rusqlite"]
sqlite-bundled = ["__sqlite-shared", "rusqlite/bundled"]
vision = ["dep:flate2", "dep:globwalk", "dep:burn-common", "dep:image"]
# internal
2023-12-02 03:33:28 +08:00
__sqlite-shared = [
"dep:r2d2",
"dep:r2d2_sqlite",
"dep:serde_rusqlite",
"dep:image",
"dep:gix-tempfile",
2023-12-02 03:33:28 +08:00
]
dataframe = ["dep:polars"]
2022-08-21 21:42:42 +08:00
[dependencies]
burn-common = { path = "../burn-common", version = "0.16.0", optional = true, features = [
"network",
] }
2023-12-02 03:33:28 +08:00
csv = { workspace = true }
derive-new = { workspace = true }
dirs = { workspace = true }
fake = { workspace = true, optional = true }
2024-01-26 05:16:39 +08:00
flate2 = { workspace = true, optional = true }
2023-12-02 03:33:28 +08:00
gix-tempfile = { workspace = true, optional = true }
globwalk = { workspace = true, optional = true }
hound = { workspace = true, optional = true }
2024-02-03 05:32:38 +08:00
image = { workspace = true, optional = true }
polars = { workspace = true, optional = true }
2023-12-02 03:33:28 +08:00
r2d2 = { workspace = true, optional = true }
r2d2_sqlite = { workspace = true, optional = true }
rand = { workspace = true, features = ["std"] }
rmp-serde = { workspace = true }
rusqlite = { workspace = true, optional = true }
sanitize-filename = { workspace = true }
serde = { workspace = true, features = ["std", "derive"] }
serde_json = { workspace = true, features = ["std"] }
serde_rusqlite = { workspace = true, optional = true }
strum = { workspace = true }
strum_macros = { workspace = true }
tempfile = { workspace = true }
thiserror = { workspace = true }
2022-08-21 21:42:42 +08:00
[dev-dependencies]
2023-12-02 03:33:28 +08:00
rayon = { workspace = true }
rstest = { workspace = true }
fake = { workspace = true }
2023-11-19 23:35:03 +08:00
[package.metadata.cargo-udeps.ignore]
normal = ["strum", "strum_macros"]
[package.metadata.docs.rs]
features = ["doc"]
rustdoc-args = ["--cfg", "docsrs"]