From d9ff23c5316ad489de9e4411c5e3dc275a214e71 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Fri, 4 Aug 2023 23:28:18 +0200 Subject: [PATCH] chore(cli): Move `profile` config to workspace (#10307) --- Cargo.toml | 6 ++++++ polars-cli/Cargo.toml | 5 ----- py-polars/Cargo.lock | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 75527dd98186..79bec79e286d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,3 +58,9 @@ features = [ [patch.crates-io] # packed_simd_2 = { git = "https://github.com/rust-lang/packed_simd", rev = "e57c7ba11386147e6d2cbad7c88f376aab4bdc86" } # simd-json = { git = "https://github.com/ritchie46/simd-json", branch = "alignment" } + +[profile.release.package.polars-cli] +strip = true +# Below settings cannot be specified due to Cargo workspace restrictions, see: https://github.com/rust-lang/cargo/issues/9330 +# lto = true +# panic = "abort" diff --git a/polars-cli/Cargo.toml b/polars-cli/Cargo.toml index 46c0e2ba4659..ef86c378899b 100644 --- a/polars-cli/Cargo.toml +++ b/polars-cli/Cargo.toml @@ -32,8 +32,3 @@ default = ["highlight", "parquet", "json", "ipc"] parquet = ["polars/parquet"] json = ["polars/json"] ipc = ["polars/ipc"] - -[profile.release] -strip = true -lto = true -panic = "abort" diff --git a/py-polars/Cargo.lock b/py-polars/Cargo.lock index 7b0d0d23c9f7..c2480447ef8a 100644 --- a/py-polars/Cargo.lock +++ b/py-polars/Cargo.lock @@ -1725,7 +1725,7 @@ dependencies = [ [[package]] name = "py-polars" -version = "0.18.11" +version = "0.18.12" dependencies = [ "ahash", "built",