summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 4107f02888d76d7404de86556e53332a404245e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
authors = [ "iximeow <me@iximeow.net>" ]
description = "instruction decoder for the renesas m16c architecture"
edition = "2018"
license = "0BSD"
name = "yaxpeax-m16c"
repository = "http://git.iximeow.net/yaxpeax-m16c/"
version = "0.1.0"

[dependencies]
yaxpeax-arch = { version = "0.2.2", default-features = false, features = [] }
"num-traits" = { version = "0.2", default-features = false }
"serde" = { version = "1.0", optional = true }
"serde_json" = { version = "1.0", optional = true }
"serde_derive" = { version = "1.0", optional = true }

[[test]]
name = "test"
path = "test/test.rs"

[profile.release]
opt-level = 3
lto = true

[features]
default = ["std", "use-serde"]

# opt-in for some apis that are really much nicer with String
std = []

use-serde = ["yaxpeax-arch/use-serde", "serde", "serde_derive"]