-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
38 lines (33 loc) · 861 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "cramjam"
version = "2.6.0"
authors = ["Miles Granger <miles59923@gmail.com>"]
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.16", default-features = false, features = ["macros"] }
snap = "^1"
brotli2 = "^0.3"
bzip2 = "^0.4"
lz4 = "^1"
flate2 = "^1"
zstd = "0.11.1+zstd.1.5.2"
numpy = "0.16"
[dependencies.mimalloc]
version = "0.1.24"
default-features = false
optional = true