It appears that having the meta directory crate be inside the codegen directory is not enough to allow codegen to depend on it without it being published. So, let's just publish it.
38 lines
1.4 KiB
TOML
38 lines
1.4 KiB
TOML
[package]
|
|
authors = ["The Cranelift Project Developers"]
|
|
name = "cranelift-codegen"
|
|
version = "0.18.0"
|
|
description = "Low-level code generator library"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
documentation = "https://cranelift.readthedocs.io/"
|
|
repository = "https://github.com/CraneStation/cranelift"
|
|
readme = "README.md"
|
|
keywords = ["compile", "compiler", "jit"]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
cranelift-entity = { path = "../entity", version = "0.18.0", 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 }
|
|
# 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" }
|
|
|
|
[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", "target-lexicon/std"]
|
|
core = ["hashmap_core"]
|
|
|
|
[badges]
|
|
maintenance = { status = "experimental" }
|
|
travis-ci = { repository = "CraneStation/cranelift" }
|