diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index 30b98e2..f227b5b 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -49,9 +49,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] diff --git a/src/rust/Cargo.toml b/src/rust/Cargo.toml index 1a5ffa0..05ae82f 100644 --- a/src/rust/Cargo.toml +++ b/src/rust/Cargo.toml @@ -12,3 +12,21 @@ name = 'b64' base64 = "0.21.7" extendr-api = { version = "0.7.0", features = ["either"] } itertools = "0.12.0" + +# See https://github.com/ixpantia/orbweaver-r/blob/main/src/rust/Cargo.toml +[package.metadata.vendor-filter] +platforms = [ + # Linux + "x86_64-unknown-linux-gnu", + "aarch64-unknown-linux-gnu", + # Windows + "x86_64-pc-windows-gnu", + # MacOS + "x86_64-apple-darwin", + "aarch64-apple-darwin", + +] + +[profile.release] +lto = true +codegen-units = 1 diff --git a/src/rust/vendor.tar.xz b/src/rust/vendor.tar.xz index 80af0f5..b1a0f7f 100644 Binary files a/src/rust/vendor.tar.xz and b/src/rust/vendor.tar.xz differ