Add support for some serde serialization (#847)

* Add support for some serde serialization
This commit is contained in:
Artur Jamro
2019-07-12 15:30:50 -07:00
committed by Dan Gohman
parent 8edc40cb49
commit 9e884b4433
8 changed files with 33 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ failure_derive = { version = "0.1.1", default-features = false }
hashmap_core = { version = "0.1.9", optional = true }
target-lexicon = { version = "0.4.0", default-features = false }
log = { version = "0.4.6", default-features = false }
serde = { version = "1.0.94", features = ["derive"], optional = true }
# 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
@@ -58,6 +59,9 @@ arm32 = []
arm64 = []
riscv = []
# For dependent crates that want to serialize some parts of cranelift
enable-serde = ["serde"]
[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "CraneStation/cranelift" }