# 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 = "wasmer" version = "5.0.1" authors = ["Wasmer Engineering Team "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "High-performance WebAssembly runtime" homepage = "https://wasmer.io/" readme = "README.md" keywords = [ "wasm", "webassembly", "runtime", "vm", ] categories = ["wasm"] license = "MIT" repository = "https://github.com/wasmerio/wasmer" [package.metadata.docs.rs] features = [ "compiler", "core", "cranelift", "engine", "jit", "singlepass", "static-artifact-create", "static-artifact-load", "sys", "sys-default", "wasmer-artifact-create", "wasmer-artifact-load", ] rustc-args = [ "--cfg", "docsrs", ] [package.metadata.wasm-pack.profile.release] wasm-opt = false [lib] name = "wasmer" path = "src/lib.rs" [[test]] name = "externals" path = "tests/externals.rs" [[test]] name = "function_env" path = "tests/function_env.rs" [[test]] name = "import_function" path = "tests/import_function.rs" [[test]] name = "instance" path = "tests/instance.rs" [[test]] name = "memory" path = "tests/memory.rs" [[test]] name = "module" path = "tests/module.rs" [[test]] name = "reference_types" path = "tests/reference_types.rs" [[test]] name = "typed_functions" path = "tests/typed_functions.rs" [dependencies.bytes] version = "1" [dependencies.cfg-if] version = "1.0" [dependencies.derivative] version = "^2" [dependencies.indexmap] version = "1.6" [dependencies.loupe] version = "0.1.3" features = [ "indexmap", "enable-indexmap", ] optional = true [dependencies.more-asserts] version = "0.2" [dependencies.rustc-demangle] version = "0.1" [dependencies.seq-macro] version = "0.3.5" optional = true [dependencies.shared-buffer] version = "0.1.4" [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1" [dependencies.wasmi_c_api] version = "0.38.0" optional = true package = "wasmi_c_api_impl" [dependencies.wat] version = "=1.216.0" optional = true [build-dependencies.cmake] version = "0.1.50" [build-dependencies.tar] version = "0.4.42" [build-dependencies.ureq] version = "2.10.1" [build-dependencies.xz] version = "0.1.0" [build-dependencies.zip] version = "2.2.0" [features] artifact-size = [ "dep:loupe", "wasmer-vm/artifact-size", "wasmer-compiler/artifact-size", ] compiler = ["sys"] core = ["hashbrown"] cranelift = [ "compiler", "wasmer-compiler-cranelift", ] default = ["sys-default"] enable-serde = [ "wasmer-vm/enable-serde", "wasmer-compiler/enable-serde", "wasmer-types/enable-serde", ] engine = ["sys"] jit = ["engine"] js = [ "wasm-bindgen", "js-sys", ] js-default = [ "js", "std", "wasm-types-polyfill", ] js-serializable-module = [] jsc = [ "rusty_jsc", "wasm-types-polyfill", "wasmparser", ] llvm = [ "compiler", "wasmer-compiler-llvm", ] singlepass = [ "compiler", "wasmer-compiler-singlepass", ] static-artifact-create = ["wasmer-compiler/static-artifact-create"] static-artifact-load = ["wasmer-compiler/static-artifact-load"] std = [] sys = [ "wasmer-compiler/translator", "wasmer-compiler/compiler", "std", ] sys-default = [ "sys", "wat", "cranelift", ] v8 = [ "wasm-c-api", "std", "wat", "dep:seq-macro", ] wamr = [ "wasm-c-api", "std", "wat", ] wasm-c-api = ["wasm-types-polyfill"] wasm-types-polyfill = ["wasmparser"] wasmer-artifact-create = ["wasmer-compiler/wasmer-artifact-create"] wasmer-artifact-load = ["wasmer-compiler/wasmer-artifact-load"] wasmi = [ "wasm-c-api", "std", "wat", "dep:wasmi_c_api", ] [target.'cfg(all(not(target_arch = "wasm32"), target_os = "windows"))'.dependencies.windows-sys] version = "0.59" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.js-sys] version = "0.3.51" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rusty_jsc] version = "0.1.0" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.target-lexicon] version = "0.12.2" default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasm-bindgen] version = "0.2.74" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler] version = "=5.0.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-cranelift] version = "=5.0.1" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-llvm] version = "=5.0.1" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-singlepass] version = "=5.0.1" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-derive] version = "=5.0.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-types] version = "=5.0.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-vm] version = "=5.0.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmparser] version = "0.216.0" features = ["validate"] optional = true default-features = false [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.anyhow] version = "1.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.macro-wasmer-universal-test] version = "5.0.1" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tempfile] version = "3.6.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.wat] version = "1.0" [target.'cfg(not(target_env = "musl"))'.build-dependencies.bindgen] version = "0.70.1" [target.'cfg(target_arch = "wasm32")'.dependencies.hashbrown] version = "0.11" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3.51" [target.'cfg(target_arch = "wasm32")'.dependencies.serde] version = "1.0" features = ["derive"] [target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen] version = "0.4.5" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.74" [target.'cfg(target_arch = "wasm32")'.dependencies.wasmer-derive] version = "=5.0.1" [target.'cfg(target_arch = "wasm32")'.dependencies.wasmer-types] version = "=5.0.1" features = ["std"] default-features = false [target.'cfg(target_arch = "wasm32")'.dependencies.wasmparser] version = "0.216.0" features = ["validate"] optional = true default-features = false [target.'cfg(target_arch = "wasm32")'.dev-dependencies.anyhow] version = "1.0" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.macro-wasmer-universal-test] version = "5.0.1" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3.0" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wat] version = "1.0" [target.'cfg(target_env = "musl")'.build-dependencies.bindgen] version = "0.70.1" features = [ "static", "logging", "prettyplease", ] default-features = false [badges.maintenance] status = "actively-developed"