# 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-compiler-cli"
version = "6.0.0-beta.1"
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "wasmer-compiler"
description = "Wasmer Compiler 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.docs.rs]
rustc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "wasmer_compiler_cli"
path = "src/lib.rs"

[[bin]]
name = "wasmer-compiler"
path = "src/bin/wasmer_compiler.rs"
doc = false

[dependencies.anyhow]
version = "1.0"

[dependencies.bytesize]
version = "1.0"

[dependencies.cfg-if]
version = "1.0"

[dependencies.colored]
version = "2.0"

[dependencies.distance]
version = "0.4"

[dependencies.fern]
version = "0.6"
features = ["colored"]
optional = true

[dependencies.is-terminal]
version = "0.4.7"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.target-lexicon]
version = "0.12"
features = ["std"]

[dependencies.wasmer-compiler]
version = "=6.0.0-beta.1"
features = ["compiler"]

[dependencies.wasmer-types]
version = "=6.0.0-beta.1"
features = ["detect-wasm-features"]

[features]
compiler = [
    "wasmer-compiler/translator",
    "wasmer-compiler/compiler",
]
cranelift = [
    "wasmer-compiler-cranelift",
    "compiler",
]
debug = [
    "fern",
    "log",
]
default = []
disable-all-logging = []
engine = []
jit = []
llvm = ["wasmer-compiler-llvm"]
singlepass = [
    "wasmer-compiler-singlepass",
    "compiler",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
version = "4.4.0"
features = [
    "derive",
    "env",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-cranelift]
version = "=6.0.0-beta.1"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-llvm]
version = "=6.0.0-beta.1"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-compiler-singlepass]
version = "=6.0.0-beta.1"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.clap]
version = "4.4.0"
features = [
    "std",
    "help",
    "usage",
    "error-context",
    "suggestions",
    "derive",
    "env",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.wasmer-compiler-cranelift]
version = "=6.0.0-beta.1"
features = ["wasm"]
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.wasmer-compiler-llvm]
version = "=6.0.0-beta.1"
features = []
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.wasmer-compiler-singlepass]
version = "=6.0.0-beta.1"
features = ["wasm"]
optional = true
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.unix_mode]
version = "0.1.3"