# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wasmer-wit-component" version = "0.1.1" authors = ["Peter Huene "] description = "wit-bindgen-gen-c" readme = "README.md" license = "Apache-2.0" resolver = "2" [[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.anyhow] version = "1.0.55" [dependencies.clap] version = "3.1.0" features = ["derive"] optional = true [dependencies.env_logger] version = "0.9.0" optional = true [dependencies.indexmap] version = "1.8.0" [dependencies.log] version = "0.4.14" optional = true [dependencies.wasm-encoder] version = "0.13.0" [dependencies.wasmer-wit-parser] version = "0.1.1" [dependencies.wasmparser] version = "0.86.0" [dependencies.wat] version = "1.0.44" [dev-dependencies.glob] version = "0.3.0" [dev-dependencies.pretty_assertions] version = "1.2.0" [dev-dependencies.wasmprinter] version = "0.2.36" [features] cli = [ "clap", "env_logger", "log", ] default = ["cli"]