feat: add a histrical wit-bindgen
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
[package]
|
||||
name = "wit-component"
|
||||
version = "0.1.0"
|
||||
authors = ["Peter Huene <peter@huene.dev>"]
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "wit-component"
|
||||
path = "src/bin/wit-component.rs"
|
||||
required-features = ["cli"]
|
||||
|
||||
[[bin]]
|
||||
name = "wit2wasm"
|
||||
path = "src/bin/wit2wasm.rs"
|
||||
required-features = ["cli"]
|
||||
|
||||
[[bin]]
|
||||
name = "wasm2wit"
|
||||
path = "src/bin/wasm2wit.rs"
|
||||
required-features = ["cli"]
|
||||
|
||||
[dependencies]
|
||||
wasmparser = "0.86.0"
|
||||
wasm-encoder = "0.13.0"
|
||||
wat = "1.0.44"
|
||||
wit-parser = { path = "../parser" }
|
||||
anyhow = "1.0.55"
|
||||
indexmap = "1.8.0"
|
||||
clap = { version = "3.1.0", features = ["derive"], optional = true }
|
||||
env_logger = { version = "0.9.0", optional = true }
|
||||
log = { version = "0.4.14", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
wasmprinter = "0.2.36"
|
||||
glob = "0.3.0"
|
||||
pretty_assertions = "1.2.0"
|
||||
|
||||
[features]
|
||||
default = ["cli"]
|
||||
cli = ["clap", "env_logger", "log"]
|
||||
Reference in New Issue
Block a user