[package] authors = ["The Cranelift Project Developers"] name = "cranelift-codegen" version = "0.21.1" description = "Low-level code generator library" license = "Apache-2.0 WITH LLVM-exception" documentation = "https://cranelift.readthedocs.io/" repository = "https://github.com/CraneStation/cranelift" categories = ["no-std"] readme = "README.md" keywords = ["compile", "compiler", "jit"] build = "build.rs" [dependencies] cranelift-entity = { path = "../entity", version = "0.21.1", default-features = false } cranelift-bforest = { path = "../bforest", version = "0.21.1", default-features = false } failure = { version = "0.1.1", default-features = false, features = ["derive"] } failure_derive = { version = "0.1.1", default-features = false } hashmap_core = { version = "0.1.9", optional = true } target-lexicon = { version = "0.0.3", default-features = false } log = { version = "0.4.4", default-features = false, features = ["release_max_level_warn"] } # It is a goal of the cranelift-codegen crate to have minimal external dependencies. # Please don't add any unless they are essential to the task of creating binary # machine code. Integration tests that need external dependencies can be # accomodated in `tests`. [build-dependencies] cranelift-codegen-meta = { path = "meta", version = "0.21.1" } [features] # The "std" feature enables use of libstd. The "core" feature enables use # of some minimal std-like replacement libraries. At least one of these two # features need to be enabled. default = ["std"] std = ["cranelift-entity/std", "cranelift-bforest/std", "target-lexicon/std"] core = ["hashmap_core"] [badges] maintenance = { status = "experimental" } travis-ci = { repository = "CraneStation/cranelift" }