summaryrefslogtreecommitdiffstats
path: root/rust/Cargo.toml
blob: 0d76a89f9482ae7fce2701c4c9967205ba3ce740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[package]
name = "_pendulum"
version = "3.0.0"
edition = "2021"

[lib]
name = "_pendulum"
crate-type = ["cdylib", "rlib"]

[profile.release]
lto = "fat"
codegen-units = 1
strip = true
overflow-checks = false

[dependencies]
pyo3 = { version = "0.19.0", features = ["extension-module", "generate-import-lib"] }
mimalloc = { version = "0.1.39", optional = true, default-features = false }

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