Skip to content

Commit

Permalink
Move profile section in wasm-demo/Cargo.tml to the root Cargo.toml. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak authored Jul 17, 2023
1 parent 1d1742b commit dc81b35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions lang/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 0 additions & 4 deletions lang/rust/wasm-demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit dc81b35

Please sign in to comment.