# 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.78.0" name = "cranelift-wasm" version = "0.112.3" authors = ["The Cranelift Project Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Translator from WebAssembly to Cranelift IR" documentation = "https://docs.rs/cranelift-wasm" readme = "README.md" keywords = [ "webassembly", "wasm", ] categories = [ "no-std", "wasm", ] license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/wasmtime" [lib] name = "cranelift_wasm" path = "src/lib.rs" [dependencies.cranelift-codegen] version = "0.112.3" features = [ "std", "unwind", ] default-features = false [dependencies.cranelift-entity] version = "0.112.3" [dependencies.cranelift-frontend] version = "0.112.3" [dependencies.hashbrown] version = "0.14" optional = true default-features = false [dependencies.itertools] version = "0.12.0" [dependencies.log] version = "0.4.8" default-features = false [dependencies.serde] version = "1.0.188" features = ["alloc"] optional = true default-features = false [dependencies.serde_derive] version = "1.0.188" optional = true [dependencies.smallvec] version = "1.6.1" features = ["union"] [dependencies.wasmparser] version = "0.217.0" features = ["validate"] default-features = false [dependencies.wasmtime-types] version = "25.0.3" [dev-dependencies.target-lexicon] version = "0.12.16" [dev-dependencies.wat] version = "1.217.0" [features] core = [ "hashbrown", "cranelift-codegen/core", "cranelift-frontend/core", ] default = ["std"] enable-serde = [ "serde", "serde_derive", "cranelift-codegen/enable-serde", ] std = [ "cranelift-codegen/std", "cranelift-frontend/std", ] [lints.clippy] clone_on_copy = "warn" manual_strip = "warn" map_clone = "warn" uninlined_format_args = "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_extern_crates = "warn" unused_import_braces = "warn"