wasmtime-cli-flags 41.0.0

Exposes common CLI flags used for running Wasmtime
Documentation
# 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 = "2024"
rust-version = "1.90.0"
name = "wasmtime-cli-flags"
version = "41.0.0"
authors = ["The Wasmtime Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Exposes common CLI flags used for running Wasmtime"
documentation = "https://docs.rs/wasmtime-cache/"
readme = false
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
resolver = "2"

[features]
async = ["wasmtime/async"]
cache = ["wasmtime/cache"]
component-model = ["wasmtime/component-model"]
component-model-async = ["wasmtime/component-model-async"]
coredump = ["wasmtime/coredump"]
cranelift = ["wasmtime/cranelift"]
debug = ["wasmtime/debug"]
gc = ["wasmtime/gc"]
gc-drc = [
    "gc",
    "wasmtime/gc-drc",
]
gc-null = [
    "gc",
    "wasmtime/gc-null",
]
logging = [
    "dep:file-per-thread-logger",
    "dep:tracing-subscriber",
]
memory-protection-keys = ["wasmtime/memory-protection-keys"]
parallel-compilation = [
    "wasmtime/parallel-compilation",
    "dep:rayon",
]
pooling-allocator = ["wasmtime/pooling-allocator"]
pulley = ["wasmtime/pulley"]
stack-switching = ["wasmtime/stack-switching"]
threads = ["wasmtime/threads"]

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

[dependencies.anyhow]
version = "1.0.100"
features = ["std"]
default-features = false

[dependencies.clap]
version = "4.5.48"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.file-per-thread-logger]
version = "0.2.0"
optional = true

[dependencies.rayon]
version = "1.5.0"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["alloc"]
default-features = false

[dependencies.serde_derive]
version = "1.0.228"

[dependencies.toml]
version = "0.9.8"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "fmt",
    "env-filter",
    "ansi",
    "tracing-log",
]
optional = true
default-features = false

[dependencies.wasmtime]
version = "41.0.0"
default-features = false

[lints.clippy]
allow_attributes_without_reason = "warn"
clone_on_copy = "warn"
extra_unused_type_parameters = "warn"
from_over_into = "warn"
manual_strip = "warn"
map_clone = "warn"
multiple_bound_locations = "warn"
redundant_field_names = "warn"
uninlined_format_args = "warn"
unnecessary_cast = "warn"
unnecessary_fallible_conversions = "warn"
unnecessary_mut_passed = "warn"
unnecessary_to_owned = "warn"
useless_conversion = "warn"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.rust]
trivial_numeric_casts = "warn"
unstable_features = "warn"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(pulley_tail_calls)",
    "cfg(pulley_assume_llvm_makes_tail_calls)",
    "cfg(pulley_disable_interp_simd)",
]