forked from Lainports/freebsd-ports
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
--- Cargo.toml.orig 2024-08-04 11:07:42 UTC
|
|
+++ Cargo.toml
|
|
@@ -8,6 +8,7 @@ crate-type = ["cdylib"]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
+mimalloc = { version = "0.1", default-features = false }
|
|
polars-core = { workspace = true, features = ["python"] }
|
|
polars-error = { workspace = true }
|
|
polars-io = { workspace = true }
|
|
@@ -107,15 +108,11 @@ features = [
|
|
"cov",
|
|
]
|
|
|
|
+
|
|
[build-dependencies]
|
|
built = { version = "0.7", features = ["chrono", "git2", "cargo-lock"], optional = true }
|
|
|
|
-[target.'cfg(all(any(not(target_family = "unix"), allocator = "mimalloc"), not(allocator = "default")))'.dependencies]
|
|
-mimalloc = { version = "0.1", default-features = false }
|
|
|
|
-[target.'cfg(all(target_family = "unix", not(allocator = "mimalloc"), not(allocator = "default")))'.dependencies]
|
|
-jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] }
|
|
-
|
|
[features]
|
|
# Features below are only there to enable building a slim binary during development.
|
|
avro = ["polars/avro"]
|
|
@@ -259,3 +256,7 @@ default = [
|
|
"all",
|
|
"nightly",
|
|
]
|
|
+
|
|
+[profile.release]
|
|
+opt-level = 2
|
|
+debug = false
|