summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: f4c2a6447dacc9aaad0ad6c5a5525ef174bbbbb3 (plain)
[workspace]
members=["crates/*", "benchmarks", "scripts"]
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.package]
version="0.7.0"
rust-version="1.79"
edition="2021"
license="MIT OR Apache-2.0"
authors=["Henry Gressmann <mail@henrygressmann.de>"]
repository="https://github.com/explodingcamera/tinywasm"

[package]
name="tinywasm-root"
publish=false
edition.workspace=true
rust-version.workspace=true

[[example]]
name="wasm-rust"
test=false

[dev-dependencies]
color-eyre="0.6"
tinywasm={path="crates/tinywasm"}
wat={version="1"}
pretty_env_logger="0.5"

[profile.bench]
opt-level=3
lto="thin"
codegen-units=1
debug=true