From 7ac299173ead79760dfdddc637a714ad623110fd Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Fri, 4 Aug 2023 22:39:26 +0200 Subject: [PATCH 1/2] chore(rust): Move cargo-cli profile config to workspace --- Cargo.toml | 6 ++++++ polars-cli/Cargo.toml | 5 ----- 2 files changed, 6 insertions(+), 5 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" From c3d2a678f716ce6d9e043f6ea5659492fbf01a2a Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Fri, 4 Aug 2023 22:41:27 +0200 Subject: [PATCH 2/2] Update lockfile --- py-polars/Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",