summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 0f66fa91c506e48018155d13344dfa2b3424a3da (plain)
[workspace]
members=["crates/*", "benchmarks", "scripts"]
default-members=[".", "crates/tinywasm", "crates/types", "crates/parser"]
resolver="2"

[profile.wasm]
opt-level="s"
lto="thin"
codegen-units=1
panic="abort"
inherits="release"

[workspace.package]
version="0.6.0"
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="2021"

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

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

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

[patch.crates-io]
# https://github.com/servo/pathfinder/pull/548 & https://github.com/servo/pathfinder/issues/558
pathfinder_simd={git="https://github.com/servo/pathfinder", rev="30419d07660dc11a21e42ef4a7fa329600cff152"}