# 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 = "wasmtime-provider" version = "2.2.0" authors = [ "Kevin Hoffman ", "Jarrod Overson ", "Phil Kedy ", "Flavio Castelli ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A wasmtime engine provider for the waPC host" homepage = "https://wapc.io" documentation = "https://docs.rs/wasmtime-provider" readme = "README.md" keywords = [ "sdk", "wapc", "webassembly", "wasm", "wasmtime", ] categories = [ "wasm", "api-bindings", ] license = "Apache-2.0" [package.metadata.docs.rs] all-features = true [package.metadata.workspaces] independent = true [lib] name = "wasmtime_provider" path = "src/lib.rs" [[example]] name = "demo" path = "examples/demo/main.rs" [[example]] name = "demo-async" path = "examples/demo-async/main.rs" required-features = ["async"] [[example]] name = "hash-mreplace" path = "examples/hash-mreplace/main.rs" [[example]] name = "hash-mreplace-async" path = "examples/hash-mreplace-async/main.rs" required-features = ["async"] [[test]] name = "calc_hash" path = "tests/calc_hash.rs" [[test]] name = "hello" path = "tests/hello.rs" [[test]] name = "wapc_guest" path = "tests/wapc_guest.rs" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "0.1" optional = true [dependencies.cap-std] version = "3.4" optional = true [dependencies.cfg-if] version = "1.0.0" [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "0.12" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.thiserror] version = "2.0" [dependencies.tokio] version = "1" features = ["rt"] optional = true default-features = false [dependencies.wapc] version = "2.1.0" [dependencies.wasi-common] version = "27.0" optional = true [dependencies.wasmtime] version = "27.0" features = [ "cache", "gc", "gc-drc", "gc-null", "wat", "profiling", "parallel-compilation", "cranelift", "pooling-allocator", "demangle", "addr2line", "coredump", "debug-builtins", "runtime", "component-model", "threads", "std", ] default-features = false [dependencies.wasmtime-wasi] version = "27.0" optional = true [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.hex] version = "0.4" [dev-dependencies.tokio] version = "1" features = ["full"] [features] async = [ "wapc/async", "wasi-common/tokio", "wasmtime/async", "async-trait", "tokio", ] cache = ["wasmtime/cache"] default = [ "wasi", "async", ] wasi = [ "wasi-common", "wasmtime-wasi", "cap-std", ] [badges.maintenance] status = "actively-developed"