# 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-singlepass"
version = "6.0.0-beta.1"
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Singlepass compiler for Wasmer WebAssembly runtime"
homepage = "https://wasmer.io/"
documentation = "https://docs.rs/wasmer-compiler-singlepass/"
readme = "README.md"
keywords = [
    "wasm",
    "webassembly",
    "compiler",
    "singlepass",
]
categories = ["wasm"]
license = "MIT"
repository = "https://github.com/wasmerio/wasmer"

[package.metadata.docs.rs]
rustc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.byteorder]
version = "1.3"

[dependencies.dynasm]
version = "1.2.3"

[dependencies.dynasmrt]
version = "1.2.3"

[dependencies.enumset]
version = "1.1.0"

[dependencies.gimli]
version = "0.28.1"
optional = true

[dependencies.hashbrown]
version = "0.11"
optional = true

[dependencies.more-asserts]
version = "0.2"

[dependencies.smallvec]
version = "1.6"

[dependencies.wasmer-compiler]
version = "=6.0.0-beta.1"
features = [
    "translator",
    "compiler",
]
default-features = false

[dependencies.wasmer-types]
version = "=6.0.0-beta.1"
features = ["std"]
default-features = false

[dev-dependencies.target-lexicon]
version = "0.12.2"
default-features = false

[features]
avx = []
core = [
    "hashbrown",
    "wasmer-types/core",
]
default = [
    "std",
    "rayon",
    "unwind",
    "avx",
]
enable-serde = []
sse = []
std = [
    "wasmer-compiler/std",
    "wasmer-types/std",
]
unwind = ["gimli"]
wasm = [
    "std",
    "unwind",
    "avx",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1.5"
optional = true

[badges.maintenance]
status = "actively-developed"