# 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 = "wit-bindgen-cli" version = "0.36.0" authors = ["Alex Crichton "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ CLI tool to generate bindings for WIT documents and the component model. """ homepage = "https://github.com/bytecodealliance/wit-bindgen" readme = "README.md" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/bytecodealliance/wasi-rs" [[bin]] name = "wit-bindgen" path = "src/bin/wit-bindgen.rs" [[test]] name = "runtime" path = "tests/runtime/main.rs" [dependencies.anyhow] version = "1.0.72" [dependencies.clap] version = "4.3.19" features = ["derive"] [dependencies.wasm-encoder] version = "0.220.0" [dependencies.wit-bindgen-c] version = "0.36.0" features = ["clap"] optional = true [dependencies.wit-bindgen-core] version = "0.36.0" [dependencies.wit-bindgen-csharp] version = "0.36.0" features = ["clap"] optional = true [dependencies.wit-bindgen-go] version = "0.36.0" features = ["clap"] optional = true [dependencies.wit-bindgen-markdown] version = "0.36.0" features = ["clap"] optional = true [dependencies.wit-bindgen-moonbit] version = "0.36.0" features = ["clap"] optional = true [dependencies.wit-bindgen-rust] version = "0.36.0" features = ["clap"] optional = true [dependencies.wit-bindgen-teavm-java] version = "0.36.0" features = ["clap"] optional = true [dependencies.wit-component] version = "0.220.0" [dev-dependencies.heck] version = "0.5" [dev-dependencies.wasm-encoder] version = "0.220.0" [dev-dependencies.wasmparser] version = "0.220.0" [dev-dependencies.wasmtime] version = "25.0.0" features = ["component-model"] [dev-dependencies.wasmtime-wasi] version = "25.0.0" [dev-dependencies.wit-parser] version = "0.220.0" [features] c = ["dep:wit-bindgen-c"] csharp = ["dep:wit-bindgen-csharp"] csharp-mono = ["csharp"] default = [ "c", "rust", "markdown", "teavm-java", "go", "csharp", "moonbit", ] go = ["dep:wit-bindgen-go"] markdown = ["dep:wit-bindgen-markdown"] moonbit = ["dep:wit-bindgen-moonbit"] rust = ["dep:wit-bindgen-rust"] teavm-java = ["dep:wit-bindgen-teavm-java"]