[[bin]]
doc = false
name = "wasmer"
path = "src/bin/wasmer.rs"
required-features = ["backend"]
[[bin]]
doc = false
name = "wasmer-headless"
path = "src/bin/wasmer_headless.rs"
required-features = ["headless"]
[build-dependencies.chrono]
default-features = false
features = ["std", "clock"]
version = "0.4.38"
[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]
optional = true
version = "0.14.0"
[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]
features = ["server"]
version = "1"
[dependencies.hyper-util]
features = ["tokio"]
version = "0.1.5"
[dependencies.indexmap]
version = "1.9.2"
[dependencies.indicatif]
version = "0.17.5"
[dependencies.interfaces]
optional = true
version = "0.0.9"
[dependencies.is-terminal]
version = "0.4.7"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.libc]
default-features = false
version = "^0.2"
[dependencies.log]
version = "0.4.17"
[dependencies.lzma-rs]
version = "0.3.0"
[dependencies.mac_address]
optional = true
version = "1.1.5"
[dependencies.mio]
optional = true
version = "1"
[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]
features = ["indexmap-2", "bytes-1"]
optional = true
version = "0.8.8"
[dependencies.semver]
version = "1.0.14"
[dependencies.serde]
features = ["derive"]
version = "1.0.147"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
package = "serde_yml"
version = "0.0.12"
[dependencies.sha2]
version = "0.10.6"
[dependencies.shared-buffer]
optional = true
version = "0.1.4"
[dependencies.tar]
version = "0.4.40"
[dependencies.target-lexicon]
features = ["std"]
version = "0.12"
[dependencies.tempfile]
version = "3.6.0"
[dependencies.thiserror]
version = "1.0.37"
[dependencies.time]
features = ["macros"]
version = "0.3.36"
[dependencies.time01]
optional = true
package = "time"
version = "0.1.45"
[dependencies.tokio]
default-features = false
features = ["macros", "rt-multi-thread"]
version = "1.39.0"
[dependencies.tokio-tungstenite]
features = ["rustls-tls-webpki-roots", "stream"]
optional = true
version = "0.21.0"
[dependencies.toml]
features = ["preserve_order"]
version = "0.5.9"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter", "fmt", "json"]
version = "0.3"
[dependencies.url]
version = "2.3.1"
[dependencies.uuid]
features = ["v4"]
version = "1.3.0"
[dependencies.virtual-fs]
default-features = false
features = ["host-fs"]
version = "0.20.0"
[dependencies.virtual-mio]
version = "0.7.0"
[dependencies.virtual-net]
version = "0.14.0"
[dependencies.walkdir]
version = "2.3.2"
[dependencies.wasm-coredump-builder]
optional = true
version = "0.1.11"
[dependencies.wasmer]
default-features = false
version = "=5.0.4"
[dependencies.wasmer-backend-api]
version = "=0.4.0"
[dependencies.wasmer-compiler]
features = ["compiler"]
optional = true
version = "=5.0.4"
[dependencies.wasmer-compiler-cranelift]
optional = true
version = "=5.0.4"
[dependencies.wasmer-compiler-llvm]
optional = true
version = "=5.0.4"
[dependencies.wasmer-compiler-singlepass]
optional = true
version = "=5.0.4"
[dependencies.wasmer-config]
version = "0.12.0"
[dependencies.wasmer-package]
version = "0.4.0"
[dependencies.wasmer-types]
features = ["enable-serde"]
version = "=5.0.4"
[dependencies.wasmer-vm]
optional = true
version = "=5.0.4"
[dependencies.wasmer-wasix]
features = ["logging", "webc_runner_rt_wcgi", "webc_runner_rt_dcgi", "webc_runner_rt_dproxy", "host-fs", "ctrlc"]
version = "=0.34.0"
[dependencies.wasmer-wast]
optional = true
version = "=5.0.4"
[dependencies.webc]
version = "7.0.0-rc.2"
[dependencies.zip]
default-features = false
features = ["deflate"]
version = "2.1.3"
[dev-dependencies.assert_cmd]
version = "2.0.11"
[dev-dependencies.predicates]
version = "3.0.3"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[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"]
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-artifact-load = ["compiler", "wasmer/wasmer-artifact-load", "wasmer-compiler/wasmer-artifact-load"]
wasmi = ["backend", "wasmer/wasmi"]
wast = ["wasmer-wast"]
wat = ["wasmer/wat"]
[lib]
name = "wasmer_cli"
path = "src/lib.rs"
[package]
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["wasm", "command-line-interface"]
default-run = "wasmer"
description = "Wasmer CLI"
edition = "2021"
homepage = "https://wasmer.io/"
keywords = ["wasm", "webassembly", "cli"]
license = "MIT"
name = "wasmer-cli"
readme = "README.md"
repository = "https://github.com/wasmerio/wasmer"
rust-version = "1.81"
version = "5.0.4"
[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"]
[target.'cfg(any(target_arch = "riscv64", target_arch = "loongarch64"))'.dependencies.reqwest]
default-features = false
features = ["native-tls", "json", "multipart"]
version = "0.12.0"
[target.'cfg(not(any(target_arch = "riscv64", target_arch = "loongarch64")))'.dependencies.reqwest]
default-features = false
features = ["rustls-tls", "json", "multipart", "gzip"]
version = "0.12.0"
[target.'cfg(not(target_family = "wasm"))'.dependencies.clap]
features = ["derive", "env"]
version = "4.4.0"
[target.'cfg(target_family = "wasm")'.dependencies.clap]
default-features = false
features = ["std", "help", "usage", "error-context", "suggestions", "derive", "env"]
version = "4.4.0"
[target.'cfg(target_os = "linux")'.dependencies.unix_mode]
version = "0.1.3"
[target.'cfg(target_os = "windows")'.dependencies.colored]
version = "2.0.0"
[[test]]
name = "version"
path = "tests/version.rs"