This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/branch-1.11 by this push:
     new f68200d73 Move profile section in wasm-demo/Cargo.tml to the root 
Cargo.toml. (#2354)
f68200d73 is described below

commit f68200d7368971186b59bf5a789312a0a7a3c0c9
Author: Kousuke Saruta <[email protected]>
AuthorDate: Mon Jul 17 21:56:27 2023 +0900

    Move profile section in wasm-demo/Cargo.tml to the root Cargo.toml. (#2354)
    
    (cherry picked from commit dc81b3595158522549e3210a1c396f220ec83405)
---
 lang/rust/Cargo.toml           | 4 ++++
 lang/rust/wasm-demo/Cargo.toml | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lang/rust/Cargo.toml b/lang/rust/Cargo.toml
index 43872102f..5e188c60d 100644
--- a/lang/rust/Cargo.toml
+++ b/lang/rust/Cargo.toml
@@ -37,3 +37,7 @@ rust-version = "1.65.0"
 keywords = ["avro", "data", "serialization"]
 categories = ["encoding"]
 documentation = "https://docs.rs/apache-avro";
+
+[profile.release.package.hello-wasm]
+# Tell `rustc` to optimize for small code size.
+opt-level = "s"
diff --git a/lang/rust/wasm-demo/Cargo.toml b/lang/rust/wasm-demo/Cargo.toml
index b2799ef70..4dfade68a 100644
--- a/lang/rust/wasm-demo/Cargo.toml
+++ b/lang/rust/wasm-demo/Cargo.toml
@@ -42,7 +42,3 @@ wasm-bindgen = "0.2.87"
 [dev-dependencies]
 console_error_panic_hook = { version = "0.1.6" }
 wasm-bindgen-test = "0.3.37"
-
-[profile.release]
-# Tell `rustc` to optimize for small code size.
-opt-level = "s"

Reply via email to