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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
[package]
name = "yaxpeax-x86"
version = "1.2.2"
authors = [ "iximeow <me@iximeow.net>" ]
license = "0BSD"
repository = "http://git.iximeow.net/yaxpeax-x86/"
description = "x86 decoders for the yaxpeax project"
readme = "README.md"
edition = "2018"
[dependencies]
yaxpeax-arch = { version = "0.2.7", 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 }
"cfg-if" = "1.0.0"
[dev-dependencies]
rand = "0.8.4"
[[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", "fmt"]
# opt-in for some apis that are really much nicer with String
std = ["alloc", "yaxpeax-arch/std"]
# opt-in for some formatting-related helpers that require performing allocation
#
# this should only be useful with `fmt` currently, but in the future there could
# be other `fmt`-independent code gated on `alloc`.
alloc = ["yaxpeax-arch/alloc"]
# feature for formatting instructions and their components
fmt = []
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 = []
# this disables a lot of inlining to make it easier for me to measure
# likelihood of codepaths for typical instruction sequences
profiling = []
|