summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 17d1404eaa365bdcffb379da7b392afce55e1b26 (plain)
[workspace]
members=["crates/*"]
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.5.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.0"}
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/explodingcamera/pathfinder", rev="4ada8c2484f6bdd2a57546f055000c2df8e65eab"}