diff --git a/Cargo.toml b/Cargo.toml index b6a73db6..bfa98e26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" license = "MIT" description = "Thin Python bindings to de/compression algorithms in Rust" readme = "README.md" +exclude = ["benchmarks/", "benchmark-requirements.txt"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] diff --git a/src/lib.rs b/src/lib.rs index 9adba54a..2299088b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -407,6 +407,7 @@ mod cramjam { #[pymodule_export] use crate::lz4::lz4; + #[cfg(any(feature = "brotli"))] #[pymodule_export] use crate::brotli::brotli;