blob: 7b27d00d4d87cb2ab5a6940e0c7b67e3f734cbeb (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
[package]
name = "yaxpeax-x86"
version = "0.0.8"
authors = [ "iximeow <me@iximeow.net>" ]
license = "0BSD"
repository = "http://git.iximeow.net/yaxpeax-x86/"
description = "x86 decoders for the yaxpeax project"
readme = "README.md"
[dependencies]
yaxpeax-arch = { version = "0.0.3", default-features = false, features = [] }
"num-traits" = { version = "0.2", default-features = false }
"termion" = { version = "1.4.0", optional = true }
"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"
[[bench]]
name = "bench"
path = "test/bench.rs"
[profile.bench]
opt-level = 3
lto = true
[profile.release]
opt-level = 3
lto = true
[features]
default = ["std", "colors", "use-serde"]
# opt-in for some apis that are really much nicer with String
std = []
use-serde = ["yaxpeax-arch/use-serde", "serde", "serde_derive"]
colors = ["yaxpeax-arch/colors"]
# This enables some capstone benchmarks over the same
# instruction bytes used to bench this code.
capstone_bench = []
|