# 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 = "2024"
name = "js-component-bindgen"
version = "1.19.0-rc.6"
authors = [
    "Alex Crichton <alex@alexcrichton.com>",
    "Guy Bedford <gbedford@fastly.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JS component bindgen for transpiling WebAssembly components into JavaScript"
homepage = "https://github.com/bytecodealliance/jco/tree/main/crates/js-component-bindgen"
readme = "README.md"
keywords = [
    "webassembly",
    "wasm",
]
categories = ["wasm"]
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/jco"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["transpile-bindgen"]
transpile-bindgen = []

[lib]
name = "js_component_bindgen"
crate-type = ["lib"]
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0.102"
default-features = false

[dependencies.base64]
version = "0.22.1"
features = ["alloc"]
default-features = false

[dependencies.bon]
version = "3.9.1"
features = [
    "std",
    "alloc",
]
default-features = false

[dependencies.heck]
version = "0.5.0"
default-features = false

[dependencies.log]
version = "0.4.29"
default-features = false

[dependencies.semver]
version = "1.0.27"
default-features = false

[dependencies.wasm-encoder]
version = "0.245.1"
default-features = false

[dependencies.wasmparser]
version = "0.245.1"
features = [
    "features",
    "component-model",
]
default-features = false

[dependencies.wasmtime-environ]
version = "43.0.0"
features = [
    "component-model",
    "compile",
    "component-model",
]

[dependencies.wit-bindgen-core]
version = "0.54.0"
default-features = false

[dependencies.wit-component]
version = "0.245.1"
features = ["dummy-module"]

[dependencies.wit-parser]
version = "0.245.1"
default-features = false
