diff --git a/Cargo.toml b/Cargo.toml
index 483e969..daf2713 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -22,8 +22,9 @@ crate-type = ["cdylib", "rlib"]
clap = { version = "4", features = ["derive"] }
color-eyre = { version = "0.6", optional = true }
console = { version = "0.16", optional = true }
-downloader = { version = "0.2", optional = true }
+downloader = { version = "0.2", optional = true, default-features = false, features = ["rustls-tls"] }
ffmpeg-sidecar = { version = "2", optional = true }
+#ffmpreg = { version = "0.1", optional = true }
itertools = "0.15"
indexmap = { version = "2", features = ["serde"] }
indicatif = { version = "0.18", features = ["rayon"], optional = true }
@@ -63,7 +64,7 @@ retry = "2"
toml = "1"
[features]
-default = []
+default = ["bioformats_java", "gpl-formats", "czi", "tiff", "tiffseq", "movie", "tiffwrite"]
all = ["bioformats_java", "bioformats_rust", "czi", "gpl-formats", "movie", "tiffseq", "tiffwrite", "tiff"]
gpl-formats = []
python = ["dep:pyo3", "dep:numpy", "dep:color-eyre", "dep:pyo3-stub-gen", "dep:postcard", "ome-metadata/python"]
@@ -76,7 +77,7 @@ tiff = ["dep:tiff", "dep:thread_local"]
movie = ["dep:ffmpeg-sidecar", "dep:tokio", "dep:ordered-float", "dep:indicatif", "dep:console"]
[package.metadata.docs.rs]
-features = ["bioformats", "gpl-formats", "czi", "tiff", "movie"]
+features = ["bioformats_java", "gpl-formats", "czi", "tiff", "movie"]
[profile.test]
inherits = "release"
diff --git a/pyproject.toml b/pyproject.toml
index 44eadf3..08a59a9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,7 +35,7 @@ ndbioimage_generate_stub = "ndbioimage:ndbioimage_generate_stub"
[tool.maturin]
python-source = "py"
-features = ["python", "bioformats_java", "tiffwrite", "czi"]
+features = ["python", "default"]
module-name = "ndbioimage.ndbioimage_rs"
include = ["py/ndbioimage/jassets/j4rs*", "py/ndbioimage/deps/libj4rs*"]
diff --git a/src/py.rs b/src/py.rs
index 384fcb2..0980ff7 100644
--- a/src/py.rs
+++ b/src/py.rs
@@ -27,6 +27,7 @@ use pyo3_stub_gen::{StubGenConfig, StubInfo};
use serde::{Deserialize, Serialize};
use std::collections::HashSet;
use std::error::Error as StdError;
+use std::fmt::Debug;
use std::path::PathBuf;
fn format_error_chain(err: &crate::error::Error) -> String {
diff --git a/src/readers/bioformats_java.rs b/src/readers/bioformats_java.rs
index c81dd7e..cce6a7f 100644
--- a/src/readers/bioformats_java.rs
+++ b/src/readers/bioformats_java.rs
@@ -470,15 +470,15 @@ impl Drop for BioFormatsJavaReader {
}
}
-fn find_tiff(path: PathBuf) -> Result