# 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-cli" version = "5.0.1" authors = ["Wasmer Engineering Team "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false default-run = "wasmer" description = "Wasmer CLI" homepage = "https://wasmer.io/" readme = "README.md" keywords = [ "wasm", "webassembly", "cli", ] categories = [ "wasm", "command-line-interface", ] license = "MIT" repository = "https://github.com/wasmerio/wasmer" [package.metadata.binstall] pkg-fmt = "tgz" [package.metadata.binstall.overrides.aarch64-apple-darwin] bin-dir = "bin/{ bin }" pkg-url = "{ repo }/releases/download/v{ version }/wasmer-darwin-arm64.{ archive-format }" [package.metadata.binstall.overrides.aarch64-unknown-linux-gnu] bin-dir = "bin/{ bin }" pkg-url = "{ repo }/releases/download/v{ version }/wasmer-linux-aarch64.{ archive-format }" [package.metadata.binstall.overrides.riscv64gc-unknown-linux-gnu] bin-dir = "bin/{ bin }" pkg-url = "{ repo }/releases/download/v{ version }/wasmer-linux-riscv64gc.{ archive-format }" [package.metadata.binstall.overrides.x86_64-apple-darwin] bin-dir = "bin/{ bin }" pkg-url = "{ repo }/releases/download/v{ version }/wasmer-darwin-amd64.{ archive-format }" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] bin-dir = "bin/{ bin }.exe" pkg-url = "{ repo }/releases/download/v{ version }/wasmer-windows-amd64.{ archive-format }" [package.metadata.binstall.overrides.x86_64-unknown-linux-gnu] bin-dir = "bin/{ bin }" pkg-url = "{ repo }/releases/download/v{ version }/wasmer-linux-amd64.{ archive-format }" [package.metadata.binstall.overrides.x86_64-unknown-linux-musl] bin-dir = "bin/{ bin }" pkg-url = "{ repo }/releases/download/v{ version }/wasmer-linux-musl-amd64.{ archive-format }" [package.metadata.docs.rs] rustc-args = [ "--cfg", "docsrs", ] [lib] name = "wasmer_cli" path = "src/lib.rs" [[bin]] name = "wasmer" path = "src/bin/wasmer.rs" doc = false required-features = ["backend"] [[bin]] name = "wasmer-headless" path = "src/bin/wasmer_headless.rs" doc = false required-features = ["headless"] [[test]] name = "version" path = "tests/version.rs" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "0.1.68" [dependencies.bytes] version = "1" [dependencies.bytesize] version = "1.0" [dependencies.cargo_metadata] version = "0.15.2" [dependencies.cfg-if] version = "1.0" [dependencies.clap_complete] version = "4.5.2" [dependencies.clap_mangen] version = "0.2.20" [dependencies.colored] version = "2.0" [dependencies.comfy-table] version = "7.0.1" [dependencies.console] version = "0.15.8" [dependencies.dialoguer] version = "0.11.0" [dependencies.dirs] version = "4.0" [dependencies.dotenvy] version = "0.15.7" [dependencies.flate2] version = "1.0.25" [dependencies.fuser] version = "0.14.0" optional = true [dependencies.futures] version = "0.3.29" [dependencies.futures-util] version = "0.3.31" [dependencies.hex] version = "0.4.3" [dependencies.http] version = "1.0.0" [dependencies.http-body-util] version = "0.1.1" [dependencies.humantime] version = "2.1.0" [dependencies.hyper] version = "1" features = ["server"] [dependencies.hyper-util] version = "0.1.5" features = ["tokio"] [dependencies.indexmap] version = "1.9.2" [dependencies.indicatif] version = "0.17.5" [dependencies.interfaces] version = "0.0.9" optional = true [dependencies.is-terminal] version = "0.4.7" [dependencies.lazy_static] version = "1.4.0" [dependencies.libc] version = "^0.2" default-features = false [dependencies.log] version = "0.4.17" [dependencies.lzma-rs] version = "0.3.0" [dependencies.mac_address] version = "1.1.5" optional = true [dependencies.mio] version = "1" optional = true [dependencies.normpath] version = "=1.1.1" [dependencies.object] version = "0.32.0" [dependencies.once_cell] version = "1.17.1" [dependencies.opener] version = "0.6.1" [dependencies.parking_lot] version = "0.12" [dependencies.pathdiff] version = "0.2.1" [dependencies.regex] version = "1.6.0" [dependencies.rkyv] version = "0.8.8" features = [ "indexmap-2", "bytes-1", ] optional = true [dependencies.semver] version = "1.0.14" [dependencies.serde] version = "1.0.147" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.0.12" package = "serde_yml" [dependencies.sha2] version = "0.10.6" [dependencies.shared-buffer] version = "0.1.4" optional = true [dependencies.tar] version = "0.4.40" [dependencies.target-lexicon] version = "0.12" features = ["std"] [dependencies.tempfile] version = "3.6.0" [dependencies.thiserror] version = "1.0.37" [dependencies.time] version = "0.3.36" features = ["macros"] [dependencies.time01] version = "0.1.45" optional = true package = "time" [dependencies.tldextract] version = "0.6.0" [dependencies.tokio] version = "1.39.0" features = [ "macros", "rt-multi-thread", ] default-features = false [dependencies.tokio-tungstenite] version = "0.21.0" features = [ "rustls-tls-webpki-roots", "stream", ] optional = true [dependencies.toml] version = "0.5.9" features = ["preserve_order"] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "fmt", "json", ] [dependencies.url] version = "2.3.1" [dependencies.uuid] version = "1.3.0" features = ["v4"] [dependencies.virtual-fs] version = "0.19.0" features = ["host-fs"] default-features = false [dependencies.virtual-mio] version = "0.5.0" [dependencies.virtual-net] version = "0.11.0" [dependencies.walkdir] version = "2.3.2" [dependencies.wasm-coredump-builder] version = "0.1.11" optional = true [dependencies.wasmer] version = "=5.0.1" default-features = false [dependencies.wasmer-backend-api] version = "=0.2.0" [dependencies.wasmer-compiler] version = "=5.0.1" features = ["compiler"] optional = true [dependencies.wasmer-compiler-cranelift] version = "=5.0.1" optional = true [dependencies.wasmer-compiler-llvm] version = "=5.0.1" optional = true [dependencies.wasmer-compiler-singlepass] version = "=5.0.1" optional = true [dependencies.wasmer-config] version = "0.10.0" [dependencies.wasmer-object] version = "=5.0.1" optional = true [dependencies.wasmer-package] version = "0.2.0" [dependencies.wasmer-types] version = "=5.0.1" features = ["enable-serde"] [dependencies.wasmer-vm] version = "=5.0.1" optional = true [dependencies.wasmer-wasix] version = "=0.31.0" features = [ "logging", "webc_runner_rt_wcgi", "webc_runner_rt_dcgi", "webc_runner_rt_dproxy", "host-fs", "ctrlc", ] [dependencies.wasmer-wast] version = "=5.0.1" optional = true [dependencies.webc] version = "7.0.0-rc.2" [dependencies.zip] version = "2.1.3" features = ["deflate"] default-features = false [dev-dependencies.assert_cmd] version = "2.0.11" [dev-dependencies.predicates] version = "3.0.3" [dev-dependencies.pretty_assertions] version = "1.4.0" [build-dependencies.chrono] version = "0.4.38" features = [ "std", "clock", ] default-features = false [features] backend = [] compiler = [ "backend", "wasmer/compiler", "wasmer-compiler/translator", "wasmer-compiler/compiler", ] coredump = ["wasm-coredump-builder"] cranelift = [ "wasmer-compiler-cranelift", "compiler", ] default = [ "sys", "wat", "wast", "journal", "wasmer-artifact-create", "static-artifact-create", ] disable-all-logging = [ "wasmer-wasix/disable-all-logging", "log/release_max_level_off", ] enable-serde = [ "wasmer/enable-serde", "wasmer-vm/enable-serde", "wasmer-compiler/enable-serde", "wasmer-wasix/enable-serde", ] fuse = [ "dep:fuser", "dep:time01", "dep:shared-buffer", "dep:rkyv", ] headless = [] headless-minimal = [ "headless", "disable-all-logging", ] host-net = ["virtual-net/host-net"] journal = ["wasmer-wasix/journal"] jsc = [ "backend", "wasmer/jsc", "wasmer/std", ] llvm = [ "wasmer-compiler-llvm", "compiler", ] singlepass = [ "wasmer-compiler-singlepass", "compiler", ] static-artifact-create = [ "compiler", "wasmer/static-artifact-load", "wasmer/static-artifact-create", "wasmer-compiler/static-artifact-load", "wasmer-compiler/static-artifact-create", "wasmer-object", ] static-artifact-load = [ "compiler", "wasmer/static-artifact-load", "wasmer-compiler/static-artifact-load", ] sys = [ "compiler", "wasmer-vm", ] telemetry = [] v8 = [ "backend", "wasmer/v8", ] wamr = [ "backend", "wasmer/wamr", ] wasmer-artifact-create = [ "compiler", "wasmer/wasmer-artifact-load", "wasmer/wasmer-artifact-create", "wasmer-compiler/wasmer-artifact-load", "wasmer-compiler/wasmer-artifact-create", "wasmer-object", ] wasmer-artifact-load = [ "compiler", "wasmer/wasmer-artifact-load", "wasmer-compiler/wasmer-artifact-load", ] wasmi = [ "backend", "wasmer/wasmi", ] wast = ["wasmer-wast"] wat = ["wasmer/wat"] [target.'cfg(any(target_arch = "riscv64", target_arch = "loongarch64"))'.dependencies.reqwest] version = "0.12.0" features = [ "native-tls", "json", "multipart", ] default-features = false [target.'cfg(not(any(target_arch = "riscv64", target_arch = "loongarch64")))'.dependencies.reqwest] version = "0.12.0" features = [ "rustls-tls", "json", "multipart", "gzip", ] default-features = false [target.'cfg(not(target_family = "wasm"))'.dependencies.clap] version = "4.4.0" features = [ "derive", "env", ] [target.'cfg(target_family = "wasm")'.dependencies.clap] version = "4.4.0" features = [ "std", "help", "usage", "error-context", "suggestions", "derive", "env", ] default-features = false [target.'cfg(target_os = "linux")'.dependencies.unix_mode] version = "0.1.3" [target.'cfg(target_os = "windows")'.dependencies.colored] version = "2.0.0"