-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
69 lines (55 loc) · 1.43 KB
/
Cargo.toml
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
65
66
67
68
69
[package]
name = "zydis"
version = "4.1.1"
authors = ["Joel Höner <joel@zyantific.com>", "Timo von Hartz <th0rex@zyantific.com>"]
description = "Bindings for Zydis"
license = "MIT"
keywords = ["disassembler", "x86", "amd64", "decoder"]
repository = "https://github.com/zyantific/zydis-rs/"
edition = "2021"
[package.metadata.docs.rs]
all-features = true
[build-dependencies]
cmake = "0.1"
[dev-dependencies]
argh = "0.1"
[dependencies]
bitflags = "2"
serde = { version = "1.0", features = ["derive"], optional = true }
[features]
default = ["std", "full-decoder", "formatter"]
alloc = []
std = ["alloc"]
full-decoder = []
formatter = ["alloc", "full-decoder"]
encoder = ["alloc", "full-decoder"]
serialization = ["serde", "bitflags/serde"]
nolibc = ["no-stack-protector"]
no-stack-protector = []
[[example]]
name = "pattern"
required-features = ["full-decoder"]
[[example]]
name = "simple"
required-features = ["formatter"]
[[example]]
name = "tokens"
required-features = ["formatter"]
[[example]]
name = "formatter_hooks"
required-features = ["formatter"]
[[example]]
name = "formatter_symbols"
required-features = ["formatter"]
[[example]]
name = "instruction_segments"
required-features = ["full-decoder"]
[[example]]
name = "encode_manually"
required-features = ["encoder", "formatter"]
[[example]]
name = "encode_macro"
required-features = ["encoder", "formatter"]
[[example]]
name = "decoded_to_encoder_req"
required-features = ["encoder"]