# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "cramjam"
version = "2.4.0"
authors = ["Miles Granger <miles59923@gmail.com>"]
description = "Thin Python bindings to de/compression algorithms in Rust"
readme = "README.md"
license = "MIT"
license-file = "LICENSE"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1

[lib]
crate-type = ["cdylib"]
[dependencies.brotli2]
version = "^0.3"

[dependencies.flate2]
version = "^1"

[dependencies.lz4]
version = "^1"

[dependencies.mimalloc]
version = "0.1.24"
optional = true
default-features = false

[dependencies.numpy]
version = "0.14.0"

[dependencies.pyo3]
version = "0.14.1"
features = ["macros"]
default-features = false

[dependencies.snap]
version = "^1"

[dependencies.zstd]
version = "0.9.0+zstd.1.5.0"

[features]
default = ["mimallocator", "extension-module"]
extension-module = ["pyo3/extension-module"]
mimallocator = ["mimalloc"]