# 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"
rust-version = "1.81"
name = "wai-bindgen-wasmer"
version = "0.38.0"
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate WAI glue for a Rust Wasmer host"
homepage = "https://wasmer.io/"
readme = "README.md"
keywords = [
    "wasm",
    "webassembly",
    "wasi",
    "sandbox",
    "ABI",
]
categories = [
    "wasm",
    "os",
]
license = "MIT"
repository = "https://github.com/wasmerio/wasmer"

[package.metadata.docs.rs]
features = [
    "wasmer/sys",
    "wasmer/compiler",
]
rustc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "wai_bindgen_wasmer"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1.50"
optional = true

[dependencies.bitflags]
version = "1.2"

[dependencies.once_cell]
version = "1.13"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing-lib]
version = "0.1.26"
optional = true
package = "tracing"

[dependencies.wai-bindgen-wasmer-impl]
version = "0.2.2"

[dependencies.wasmer]
version = "=6.0.0-beta.1"
default-features = false

[features]
async = [
    "async-trait",
    "wai-bindgen-wasmer-impl/async",
]
cranelift = ["wasmer/cranelift"]
js = ["wasmer/js-default"]
llvm = ["wasmer/llvm"]
singlepass = ["wasmer/singlepass"]
sys = ["wasmer/sys-default"]
tracing = [
    "tracing-lib",
    "wai-bindgen-wasmer-impl/tracing",
]