[package] name = "cramjam" version = "2.4.0" authors = ["Miles Granger "] edition = "2018" license = "MIT" license-file = "LICENSE" description = "Thin Python bindings to de/compression algorithms in Rust" readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["cdylib"] [features] default = ["mimallocator", "extension-module"] mimallocator = ["mimalloc"] extension-module = ["pyo3/extension-module"] [profile.release] lto = "fat" codegen-units = 1 opt-level = 3 [dependencies] pyo3 = { version = "0.14.1", default-features = false, features = ["macros"] } snap = "^1" brotli2 = "^0.3" lz4 = "^1" flate2 = "^1" zstd = "0.9.0+zstd.1.5.0" numpy = "0.14.0" [dependencies.mimalloc] version = "0.1.24" default-features = false optional = true