summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 2e6e1f5abada04d3dbba723606c375fcd5a8c47d (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.0.1"

[dependencies]
yaxpeax-arch = { version = "0.0.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"]