[package]
edition = "2024"
rust-version = "1.90.0"
name = "cranelift-reader"
version = "0.128.2"
authors = ["The Cranelift Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cranelift textual IR reader"
documentation = "https://docs.rs/cranelift-reader"
readme = "README.md"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
resolver = "2"
[lib]
name = "cranelift_reader"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0.100"
features = ["std"]
default-features = false
[dependencies.cranelift-codegen]
version = "0.128.2"
features = [
"std",
"unwind",
]
default-features = false
[dependencies.smallvec]
version = "1.15.1"
features = ["union"]
[dependencies.target-lexicon]
version = "0.13.0"
features = ["std"]
[dev-dependencies.cranelift-codegen]
version = "0.128.2"
features = [
"std",
"unwind",
"x86",
]
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)",
]