# 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.75.0" name = "dusk-wasmtime" version = "21.0.0-alpha" authors = ["The Wasmtime Project Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "High-level API to expose the Wasmtime runtime" documentation = "https://docs.rs/wasmtime" readme = "README.md" license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/wasmtime" [package.metadata.docs.rs] features = ["component-model"] [lib] name = "dusk_wasmtime" path = "src/lib.rs" [dependencies.addr2line] version = "0.21.0" optional = true default-features = false [dependencies.anyhow] version = "1.0.22" [dependencies.async-trait] version = "0.1.71" optional = true [dependencies.bincode] version = "1.2.1" [dependencies.bumpalo] version = "3.11.0" [dependencies.cfg-if] version = "1.0" [dependencies.encoding_rs] version = "0.8.31" optional = true [dependencies.fxprof-processed-profile] version = "0.6.0" optional = true [dependencies.gimli] version = "0.28.0" features = [ "read", "std", ] default-features = false [dependencies.indexmap] version = "2.0.0" [dependencies.libc] version = "0.2.112" default-features = true [dependencies.log] version = "0.4.8" default-features = false [dependencies.object] version = "0.33" features = [ "read_core", "elf", "std", ] default-features = false [dependencies.once_cell] version = "1.12.0" [dependencies.paste] version = "1.0.3" [dependencies.rayon] version = "1.0" optional = true [dependencies.semver] version = "1.0.17" optional = true [dependencies.serde] version = "1.0.188" [dependencies.serde_derive] version = "1.0.188" [dependencies.serde_json] version = "1.0.80" [dependencies.target-lexicon] version = "0.12.13" features = ["std"] default-features = false [dependencies.wasm-encoder] version = "0.202.0" optional = true [dependencies.wasmparser] version = "0.202.0" [dependencies.wasmtime-cache] version = "=20.0.0" optional = true [dependencies.wasmtime-component-macro] version = "=20.0.0" optional = true [dependencies.wasmtime-component-util] version = "=20.0.0" optional = true [dependencies.wasmtime-cranelift] version = "=21.0.0-alpha" optional = true package = "dusk-wasmtime-cranelift" [dependencies.wasmtime-environ] version = "=21.0.0-alpha" package = "dusk-wasmtime-environ" [dependencies.wasmtime-fiber] version = "=20.0.0" optional = true [dependencies.wasmtime-jit-debug] version = "=20.0.0" features = ["perf_jitdump"] optional = true [dependencies.wasmtime-jit-icache-coherence] version = "=20.0.0" optional = true [dependencies.wasmtime-runtime] version = "=21.0.0-alpha" optional = true package = "dusk-wasmtime-runtime" [dependencies.wasmtime-slab] version = "=20.0.0" optional = true [dependencies.wasmtime-winch] version = "=20.0.0" optional = true [dependencies.wat] version = "1.202.0" optional = true [dev-dependencies.tempfile] version = "3.0" [features] all-arch = [ "wasmtime-cranelift?/all-arch", "wasmtime-winch?/all-arch", ] async = [ "dep:wasmtime-fiber", "wasmtime-runtime/async", "dep:async-trait", "wasmtime-component-macro?/async", "runtime", ] cache = ["dep:wasmtime-cache"] component-model = [ "wasmtime-environ/component-model", "wasmtime-cranelift?/component-model", "wasmtime-winch?/component-model", "wasmtime-runtime?/component-model", "dep:wasmtime-component-macro", "dep:wasmtime-component-util", "dep:encoding_rs", "dep:semver", ] coredump = [ "dep:wasm-encoder", "runtime", "wasmtime-runtime/coredump", ] cranelift = ["dep:wasmtime-cranelift"] debug-builtins = ["wasmtime-runtime?/debug-builtins"] default = [ "async", "cache", "gc", "wat", "profiling", "parallel-compilation", "cranelift", "pooling-allocator", "demangle", "addr2line", "coredump", "debug-builtins", "runtime", "component-model", "threads", ] demangle = ["wasmtime-environ/demangle"] gc = [ "wasmtime-environ/gc", "wasmtime-runtime?/gc", "wasmtime-cranelift?/gc", ] incremental-cache = ["wasmtime-cranelift?/incremental-cache"] parallel-compilation = ["dep:rayon"] pooling-allocator = [ "runtime", "wasmtime-runtime/pooling-allocator", ] profiling = [ "dep:fxprof-processed-profile", "dep:wasmtime-jit-debug", "dep:ittapi", ] runtime = [ "dep:wasmtime-runtime", "dep:wasmtime-jit-icache-coherence", "dep:wasmtime-slab", ] threads = [ "wasmtime-runtime?/threads", "wasmtime-cranelift?/threads", ] winch = ["dep:wasmtime-winch"] wmemcheck = [ "wasmtime-runtime?/wmemcheck", "wasmtime-cranelift?/wmemcheck", ] [target."cfg(all(target_arch = \"x86_64\", not(target_os = \"android\")))".dependencies.ittapi] version = "0.4.0" optional = true [target."cfg(target_os = \"linux\")".dependencies.rustix] version = "0.38.31" features = ["thread"] [target."cfg(target_os = \"windows\")".dependencies.windows-sys] version = "0.52.0" features = ["Win32_System_Diagnostics_Debug"] [lints.clippy] all = "allow" [lints.rust] trivial_numeric_casts = "warn" unstable_features = "warn" unused_extern_crates = "warn" unused_import_braces = "warn"