-
Notifications
You must be signed in to change notification settings - Fork 35
/
Cargo.toml
84 lines (72 loc) · 1.78 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "test-fuzz"
version = "0.0.0"
publish = false
edition = "2021"
[lints]
workspace = true
[package.metadata]
cargo-fuzz = true
[dependencies]
libfuzzer-sys = "0.4"
objc2 = { path = "../objc2" }
objc2-foundation = { path = "../../framework-crates/objc2-foundation" }
arbitrary = { version = "1", features = ["derive"] }
afl = { version = "0.15", optional = true }
[features]
gnustep-1-7 = ["objc2-foundation/gnustep-1-7"]
gnustep-1-8 = ["gnustep-1-7", "objc2-foundation/gnustep-1-8"]
gnustep-1-9 = ["gnustep-1-8", "objc2-foundation/gnustep-1-9"]
gnustep-2-0 = ["gnustep-1-9", "objc2-foundation/gnustep-2-0"]
gnustep-2-1 = ["gnustep-2-0", "objc2-foundation/gnustep-2-1"]
# Enable fuzzing with AFL
afl = ["dep:afl"]
# The features required for fuzzing all targets (used by CI)
fuzz-all = [
"objc2-foundation/NSDictionary",
"objc2-foundation/NSEnumerator",
"objc2-foundation/NSObject",
"objc2-foundation/NSSet",
"objc2-foundation/NSString",
"objc2-foundation/NSZone",
]
[[bin]]
name = "class"
path = "fuzz_targets/class.rs"
test = false
doc = false
bench = false
[[bin]]
name = "sel"
path = "fuzz_targets/sel.rs"
test = false
doc = false
bench = false
[[bin]]
name = "encoding_parse"
path = "fuzz_targets/encoding_parse.rs"
test = false
doc = false
bench = false
[[bin]]
name = "nsstring"
path = "fuzz_targets/nsstring.rs"
test = false
doc = false
bench = false
required-features = ["objc2-foundation/NSString"]
[[bin]]
name = "collection_interior_mut"
path = "fuzz_targets/collection_interior_mut.rs"
test = false
doc = false
bench = false
required-features = [
"objc2-foundation/NSDictionary",
"objc2-foundation/NSEnumerator",
"objc2-foundation/NSObject",
"objc2-foundation/NSSet",
"objc2-foundation/NSZone",
]
[package.metadata.release]
release = false