| # 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" |
| name = "cranelift-codegen" |
| version = "0.111.0" |
| authors = ["The Cranelift Project Developers"] |
| build = "build.rs" |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "Low-level code generator library" |
| documentation = "https://docs.rs/cranelift-codegen" |
| readme = "README.md" |
| keywords = [ |
| "compile", |
| "compiler", |
| "jit", |
| ] |
| categories = ["no-std"] |
| license = "Apache-2.0 WITH LLVM-exception" |
| repository = "https://github.com/bytecodealliance/wasmtime" |
| |
| [lib] |
| name = "cranelift_codegen" |
| path = "src/lib.rs" |
| |
| [[bench]] |
| name = "x64-evex-encoding" |
| path = "benches/x64-evex-encoding.rs" |
| harness = false |
| |
| [dependencies.anyhow] |
| version = "1.0.22" |
| features = ["std"] |
| optional = true |
| default-features = false |
| |
| [dependencies.bumpalo] |
| version = "3" |
| |
| [dependencies.capstone] |
| version = "0.12.0" |
| optional = true |
| |
| [dependencies.cranelift-bforest] |
| version = "0.111.0" |
| |
| [dependencies.cranelift-bitset] |
| version = "0.111.0" |
| |
| [dependencies.cranelift-codegen-shared] |
| version = "0.111.0" |
| |
| [dependencies.cranelift-control] |
| version = "0.111.0" |
| |
| [dependencies.cranelift-entity] |
| version = "0.111.0" |
| |
| [dependencies.gimli] |
| version = "0.29.0" |
| features = [ |
| "read", |
| "write", |
| "std", |
| ] |
| optional = true |
| default-features = false |
| |
| [dependencies.hashbrown] |
| version = "0.14" |
| features = ["raw"] |
| default-features = false |
| |
| [dependencies.log] |
| version = "0.4.8" |
| default-features = false |
| |
| [dependencies.postcard] |
| version = "1.0.8" |
| features = ["alloc"] |
| optional = true |
| default-features = false |
| |
| [dependencies.regalloc2] |
| version = "0.9.3" |
| features = [ |
| "checker", |
| "trace-log", |
| ] |
| |
| [dependencies.rustc-hash] |
| version = "1.1.0" |
| |
| [dependencies.serde] |
| version = "1.0.188" |
| features = ["alloc"] |
| optional = true |
| default-features = false |
| |
| [dependencies.serde_derive] |
| version = "1.0.188" |
| optional = true |
| |
| [dependencies.sha2] |
| version = "0.10.2" |
| optional = true |
| |
| [dependencies.smallvec] |
| version = "1.6.1" |
| features = ["union"] |
| |
| [dependencies.souper-ir] |
| version = "2.1.0" |
| optional = true |
| |
| [dependencies.target-lexicon] |
| version = "0.12.16" |
| |
| [dev-dependencies.criterion] |
| version = "0.5.0" |
| features = [ |
| "html_reports", |
| "rayon", |
| ] |
| default-features = false |
| |
| [dev-dependencies.env_logger] |
| version = "0.10" |
| |
| [dev-dependencies.similar] |
| version = "2.1.0" |
| |
| [build-dependencies.cranelift-codegen-meta] |
| version = "0.111.0" |
| |
| [build-dependencies.cranelift-isle] |
| version = "=0.111.0" |
| |
| [features] |
| all-arch = [ |
| "x86", |
| "arm64", |
| "s390x", |
| "riscv64", |
| ] |
| arm64 = [] |
| core = [] |
| default = [ |
| "std", |
| "unwind", |
| "host-arch", |
| "timing", |
| ] |
| disas = [ |
| "anyhow", |
| "capstone", |
| ] |
| enable-serde = [ |
| "serde", |
| "serde_derive", |
| "cranelift-entity/enable-serde", |
| "cranelift-bitset/enable-serde", |
| "regalloc2/enable-serde", |
| "smallvec/serde", |
| ] |
| host-arch = [] |
| incremental-cache = [ |
| "enable-serde", |
| "postcard", |
| "sha2", |
| ] |
| isle-errors = ["cranelift-isle/fancy-errors"] |
| isle-in-source-tree = [] |
| riscv64 = [] |
| s390x = [] |
| souper-harvest = [ |
| "souper-ir", |
| "souper-ir/stringify", |
| ] |
| std = [] |
| timing = [] |
| trace-log = [] |
| unwind = ["gimli"] |
| x86 = [] |
| |
| [lints.clippy] |
| clone_on_copy = "warn" |
| manual_strip = "warn" |
| map_clone = "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" |