summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-06-30 19:19:45 +0200
committerHenry Gressmann <mail@henrygressmann.de>2024-06-30 19:19:45 +0200
commit9c85fa9c3a2066ce851af53d7019e6a25a45af3b (patch)
tree79e6608e97f08c0ebdb64125b0c658f5cc4bb33f /Cargo.toml
parent7e8770cc4e418ef1a8cdfd9b1f59ee14b07cc6c9 (diff)
chore: restructure runtime and reduce build dependencies
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml34
1 files changed, 23 insertions, 11 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f4c2a64..3db249a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,17 +1,18 @@
[workspace]
-members=["crates/*", "benchmarks", "scripts"]
+members=["crates/*"]
default-members=[".", "crates/tinywasm", "crates/types", "crates/parser"]
resolver="2"
-[profile.wasm]
-opt-level=3
-lto="thin"
-codegen-units=1
-panic="abort"
-inherits="release"
+[workspace.dependencies]
+wast="212"
+wat="1.212"
+eyre="0.6"
+log="0.4"
+pretty_env_logger="0.5"
+criterion={version="0.5", default-features=false, features=["cargo_bench_support", "rayon"]}
[workspace.package]
-version="0.7.0"
+version="0.8.0-alpha.0"
rust-version="1.79"
edition="2021"
license="MIT OR Apache-2.0"
@@ -29,13 +30,24 @@ name="wasm-rust"
test=false
[dev-dependencies]
-color-eyre="0.6"
+wat={workspace=true}
+eyre={workspace=true}
+pretty_env_logger={workspace=true}
tinywasm={path="crates/tinywasm"}
-wat={version="1"}
-pretty_env_logger="0.5"
[profile.bench]
opt-level=3
lto="thin"
codegen-units=1
debug=true
+
+[profile.profiling]
+inherits="release"
+debug=true
+
+[profile.wasm]
+opt-level=3
+lto="thin"
+codegen-units=1
+panic="abort"
+inherits="release"