Skip to content

Commit

Permalink
put jemallocator requirement behind feature in cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 18, 2023
1 parent 42c5b0c commit 26f508a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example/derive_expression/expression_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ name = "expression_lib"
crate-type = ["cdylib"]

[dependencies]
jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] }
polars = { workspace = true, features = ["fmt", "dtype-date"], default-features = false }
polars-plan = { workspace = true, default-features = false }
pyo3 = { version = "0.20.0", features = ["extension-module"] }
pyo3-polars = { version = "*", path = "../../../pyo3-polars", features = ["derive"] }
serde = { version = "1", features = ["derive"] }

[target.'cfg(target_os = "linux")']
jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] }

0 comments on commit 26f508a

Please sign in to comment.