[dependencies.anyhow]
default-features = false
version = "1.0.22"
[dependencies.cpp_demangle]
optional = true
version = "0.4.3"
[dependencies.cranelift-bitset]
features = ["enable-serde"]
version = "0.114.0"
[dependencies.cranelift-entity]
features = ["enable-serde"]
version = "0.114.0"
[dependencies.gimli]
default-features = false
features = ["read"]
version = "0.31.0"
[dependencies.indexmap]
default-features = false
features = ["serde"]
version = "2.0.0"
[dependencies.log]
default-features = false
version = "0.4.8"
[dependencies.object]
default-features = false
features = ["read_core", "elf"]
version = "0.36"
[dependencies.postcard]
default-features = false
features = ["alloc"]
version = "1.0.8"
[dependencies.rustc-demangle]
optional = true
version = "0.1.16"
[dependencies.semver]
default-features = false
features = ["serde"]
optional = true
version = "1.0.17"
[dependencies.serde]
default-features = false
features = ["alloc"]
version = "1.0.188"
[dependencies.serde_derive]
version = "1.0.188"
[dependencies.smallvec]
features = ["union", "serde"]
version = "1.6.1"
[dependencies.target-lexicon]
version = "0.12.16"
[dependencies.wasm-encoder]
optional = true
version = "0.219.1"
[dependencies.wasmparser]
default-features = false
features = ["validate", "serde", "features"]
version = "0.219.1"
[dependencies.wasmprinter]
optional = true
version = "0.219.1"
[dependencies.wasmtime-component-util]
optional = true
version = "=27.0.0"
[dev-dependencies.clap]
default-features = false
features = ["std", "derive", "default"]
version = "4.5.17"
[dev-dependencies.env_logger]
version = "0.11.5"
[dev-dependencies.wat]
version = "1.219.1"
[[example]]
name = "factc"
path = "examples/factc.rs"
required-features = ["component-model", "compile"]
[features]
compile = ["gimli/write", "object/write_core", "std", "dep:wasm-encoder", "dep:wasmprinter"]
component-model = ["dep:wasmtime-component-util", "dep:semver", "wasmparser/component-model"]
demangle = ["std", "dep:rustc-demangle", "dep:cpp_demangle"]
gc = []
gc-drc = ["gc"]
gc-null = ["gc"]
std = ["anyhow/std", "object/std", "wasmparser/std", "indexmap/std"]
threads = ["std"]
wmemcheck = ["std"]
[lib]
name = "wasmtime_environ"
path = "src/lib.rs"
[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
uninlined_format_args = "warn"
unnecessary_cast = "warn"
unnecessary_fallible_conversions = "warn"
unnecessary_mut_passed = "warn"
unnecessary_to_owned = "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]
check-cfg = ["cfg(pulley_tail_calls)"]
level = "warn"
priority = 0
[package]
authors = ["The Wasmtime Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["wasm"]
description = "Standalone environment support for WebAssembly code in Cranelift"
documentation = "https://docs.rs/wasmtime-environ/"
edition = "2021"
keywords = ["webassembly", "wasm"]
license = "Apache-2.0 WITH LLVM-exception"
name = "wasmtime-environ"
readme = false
repository = "https://github.com/bytecodealliance/wasmtime"
rust-version = "1.80.0"
version = "27.0.0"
[package.metadata.docs.rs]
all-features = true