From b31c5542485e4b3185d12aecf023924fdbd2aa6a Mon Sep 17 00:00:00 2001 From: David Cameron Date: Tue, 28 Jan 2025 14:36:24 -0500 Subject: [PATCH] Remove hardcoded rust versions --- .../rust/cart-checkout-validation/default/Cargo.toml.liquid | 1 - checkout/rust/cart-transform/bundles/Cargo.toml.liquid | 3 +-- checkout/rust/cart-transform/default/Cargo.toml.liquid | 3 +-- checkout/rust/delivery-customization/default/Cargo.toml.liquid | 1 - checkout/rust/payment-customization/default/Cargo.toml.liquid | 1 - discounts/rust/discounts-allocator/default/Cargo.toml.liquid | 1 - discounts/rust/discounts/default/Cargo.toml.liquid | 1 - discounts/rust/order-discounts/default/Cargo.toml.liquid | 1 - discounts/rust/product-discounts/default/Cargo.toml.liquid | 1 - discounts/rust/shipping-discounts/default/Cargo.toml.liquid | 1 - .../rust/fulfillment-constraints/default/Cargo.toml.liquid | 1 - .../default/Cargo.toml.liquid | 1 - order-routing/rust/location-rules/default/Cargo.toml.liquid | 1 - 13 files changed, 2 insertions(+), 15 deletions(-) diff --git a/checkout/rust/cart-checkout-validation/default/Cargo.toml.liquid b/checkout/rust/cart-checkout-validation/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/checkout/rust/cart-checkout-validation/default/Cargo.toml.liquid +++ b/checkout/rust/cart-checkout-validation/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/checkout/rust/cart-transform/bundles/Cargo.toml.liquid b/checkout/rust/cart-transform/bundles/Cargo.toml.liquid index 8ea685f6..52929234 100644 --- a/checkout/rust/cart-transform/bundles/Cargo.toml.liquid +++ b/checkout/rust/cart-transform/bundles/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "bundles_cart_transform" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } @@ -13,5 +12,5 @@ graphql_client = "0.14.0" [profile.release] lto = true -opt-level = 's' +opt-level = 'z' strip = true diff --git a/checkout/rust/cart-transform/default/Cargo.toml.liquid b/checkout/rust/cart-transform/default/Cargo.toml.liquid index 88af9e75..6c267317 100644 --- a/checkout/rust/cart-transform/default/Cargo.toml.liquid +++ b/checkout/rust/cart-transform/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } @@ -13,5 +12,5 @@ graphql_client = "0.14.0" [profile.release] lto = true -opt-level = 's' +opt-level = 'z' strip = true diff --git a/checkout/rust/delivery-customization/default/Cargo.toml.liquid b/checkout/rust/delivery-customization/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/checkout/rust/delivery-customization/default/Cargo.toml.liquid +++ b/checkout/rust/delivery-customization/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/checkout/rust/payment-customization/default/Cargo.toml.liquid b/checkout/rust/payment-customization/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/checkout/rust/payment-customization/default/Cargo.toml.liquid +++ b/checkout/rust/payment-customization/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/discounts/rust/discounts-allocator/default/Cargo.toml.liquid b/discounts/rust/discounts-allocator/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/discounts/rust/discounts-allocator/default/Cargo.toml.liquid +++ b/discounts/rust/discounts-allocator/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/discounts/rust/discounts/default/Cargo.toml.liquid b/discounts/rust/discounts/default/Cargo.toml.liquid index 6d47ae18..4d4850fe 100644 --- a/discounts/rust/discounts/default/Cargo.toml.liquid +++ b/discounts/rust/discounts/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.84" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/discounts/rust/order-discounts/default/Cargo.toml.liquid b/discounts/rust/order-discounts/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/discounts/rust/order-discounts/default/Cargo.toml.liquid +++ b/discounts/rust/order-discounts/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/discounts/rust/product-discounts/default/Cargo.toml.liquid b/discounts/rust/product-discounts/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/discounts/rust/product-discounts/default/Cargo.toml.liquid +++ b/discounts/rust/product-discounts/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/discounts/rust/shipping-discounts/default/Cargo.toml.liquid b/discounts/rust/shipping-discounts/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/discounts/rust/shipping-discounts/default/Cargo.toml.liquid +++ b/discounts/rust/shipping-discounts/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/order-routing/rust/fulfillment-constraints/default/Cargo.toml.liquid b/order-routing/rust/fulfillment-constraints/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/order-routing/rust/fulfillment-constraints/default/Cargo.toml.liquid +++ b/order-routing/rust/fulfillment-constraints/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/order-routing/rust/local-pickup-delivery-option-generators/default/Cargo.toml.liquid b/order-routing/rust/local-pickup-delivery-option-generators/default/Cargo.toml.liquid index 848bc43e..d4d337ba 100644 --- a/order-routing/rust/local-pickup-delivery-option-generators/default/Cargo.toml.liquid +++ b/order-routing/rust/local-pickup-delivery-option-generators/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{name | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] } diff --git a/order-routing/rust/location-rules/default/Cargo.toml.liquid b/order-routing/rust/location-rules/default/Cargo.toml.liquid index ab5dd988..4d4850fe 100644 --- a/order-routing/rust/location-rules/default/Cargo.toml.liquid +++ b/order-routing/rust/location-rules/default/Cargo.toml.liquid @@ -2,7 +2,6 @@ name = "{{handle | replace: " ", "-" | downcase}}" version = "1.0.0" edition = "2021" -rust-version = "1.62" [dependencies] serde = { version = "1.0.13", features = ["derive"] }