From c1b61033f4c46914e37941e8b409244c97f45636 Mon Sep 17 00:00:00 2001 From: Paul Wagener Date: Sun, 1 Sep 2024 23:03:37 +0200 Subject: [PATCH] Fix compile for dataset crate with vision feature (#2228) This fixes the compile error when burn is compiled with only the `dataset` and `vision` feature enabled burn = { default-features = false, features = ["dataset", "vision"] } --- crates/burn-dataset/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/burn-dataset/Cargo.toml b/crates/burn-dataset/Cargo.toml index fd21ec343..d2bf8a229 100644 --- a/crates/burn-dataset/Cargo.toml +++ b/crates/burn-dataset/Cargo.toml @@ -21,7 +21,7 @@ fake = ["dep:fake"] sqlite = ["__sqlite-shared", "dep:rusqlite"] sqlite-bundled = ["__sqlite-shared", "rusqlite/bundled"] -vision = ["dep:flate2", "dep:globwalk", "dep:burn-common"] +vision = ["dep:flate2", "dep:globwalk", "dep:burn-common", "dep:image"] # internal __sqlite-shared = [