# 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" version = "5.0.1" authors = ["Wasmer Engineering Team "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Base compiler abstraction for Wasmer WebAssembly runtime" homepage = "https://wasmer.io/" readme = "README.md" keywords = [ "wasm", "webassembly", "compiler", ] categories = [ "wasm", "no-std", ] license = "MIT" repository = "https://github.com/wasmerio/wasmer" [package.metadata.docs.rs] features = [ "static-artifact-create", "static-artifact-load", "wasmer-artifact-create", "wasmer-artifact-load", ] rustc-args = [ "--cfg", "docsrs", ] [lib] name = "wasmer_compiler" path = "src/lib.rs" [dependencies.backtrace] version = "0.3" [dependencies.bytes] version = "1.0" [dependencies.cfg-if] version = "1.0" [dependencies.enum-iterator] version = "0.7.0" [dependencies.enumset] version = "1.1.0" [dependencies.hashbrown] version = "0.11" optional = true [dependencies.lazy_static] version = "1.4" [dependencies.leb128] version = "0.2" [dependencies.libc] version = "^0.2" default-features = false [dependencies.loupe] version = "0.1.3" features = [ "indexmap", "enable-indexmap", ] optional = true [dependencies.memmap2] version = "0.6" [dependencies.more-asserts] version = "0.2" [dependencies.rkyv] version = "0.8.8" features = [ "indexmap-2", "bytes-1", ] [dependencies.self_cell] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_bytes] version = "0.11" optional = true [dependencies.shared-buffer] version = "0.1.4" [dependencies.smallvec] version = "1.6" [dependencies.thiserror] version = "1.0" [dependencies.wasmer-object] version = "=5.0.1" optional = true [dependencies.wasmer-types] version = "=5.0.1" default-features = false [dependencies.wasmparser] version = "0.216.0" features = ["validate"] optional = true default-features = false [dependencies.xxhash-rust] version = "0.8.10" features = ["xxh64"] [features] artifact-size = ["dep:loupe"] compiler = ["translator"] core = [ "hashbrown", "wasmer-types/core", ] default = ["std"] enable-serde = [ "serde", "serde_bytes", "wasmer-types/enable-serde", ] static-artifact-create = ["wasmer-object"] static-artifact-load = [] std = ["wasmer-types/std"] translator = ["wasmparser"] wasmer-artifact-create = [] wasmer-artifact-load = [] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.region] version = "3.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmer-vm] version = "=5.0.1" [target.'cfg(target_os = "windows")'.dependencies.windows-sys] version = "0.59" features = ["Win32_System_Diagnostics_Debug"] [badges.maintenance] status = "experimental"