[package] name = "wasmer-deploy-cli" description = "CLI for Wasmer Deploy" version = "0.1.29" documentation = "https://docs.rs/wasmer-deploy-cli" homepage = "https://wasmer.io" # NOTE: Using a distinct license for the CLI, since it might be different from # other crates. license = "MIT" readme = "README.md" edition.workspace = true authors.workspace = true [[bin]] name = "wasmer-deploy" path = "src/main.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["rustls", "tun-tap"] rustls = ["reqwest/rustls-tls"] tun-tap = [ "dep:tun-tap", "libc", "virtual-net/tokio-tungstenite", "tokio-tungstenite", "mio", "futures-util", "bytes", "hex", "mac_address", "dep:interfaces", ] [dependencies] wasmer-api = { version = "=0.0.21", path = "../api" } wasmer-deploy-schema = { version = "=0.0.21", path = "../schema" } wasmer-deploy-util = { version = "=0.0.21", path = "../util" } #wasmer virtual-net = "0.6.1" virtual-mio = "0.3.0" uuid = { version = "1.3.0", features = ["v4"] } anyhow = { version = "1.0.68", features = ["backtrace"] } clap = { version = "4.0.32", features = ["derive", "env"] } futures = "0.3.25" time = { version = "0.3.17", features = ["macros"] } tokio = { version = "1.23.0", features = ["rt-multi-thread", "macros"] } serde_yaml = "0.8.26" serde_json = "1.0.89" toml = "0.7.2" tracing = "0.1.37" url = "2.3.1" webc = "5.0.0" serde = "1.0.152" reqwest = { version = "0.11.17", default-features = false, features = ["gzip"] } wasmer-registry = { version = ">= 5.4, <6", features = ["build-package"] } wasmer-toml = "0.9.0" dialoguer = "0.10.4" is-terminal = "0.4.3" semver = "1.0.17" comfy-table = "7.0.1" clap-verbosity-flag = { workspace = true } tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } log = "0.4.17" regex = "1.7.3" once_cell = { workspace = true } colored = "2.0.4" libc = { version = "0.2", optional = true } interfaces = { version = "0.0.9", optional = true } # Used by tuntap and connect bytes = { version = "1.1", optional = true } futures-util = { version = "0.3", optional = true } mio = { version = "0.8", optional = true } tokio-tungstenite = { version = "0.20.1", features = [ "rustls-tls-webpki-roots", ], optional = true } hex = { version = "0.4", optional = true } mac_address = { version = "1.1.5", optional = true } tun-tap = { version = "0.1.3", features = ["tokio"], optional = true } [dev-dependencies] pretty_assertions.workspace = true tempfile.workspace = true