chore(pumpkin-nbt): add fuzzing & benches
This commit is contained in:
1 parent
60ad62bbf1
commit
35b91efd38
14 files changed
+647
-8
No files matched your search
@@ -0,0 +1,46 @@
|
||||
[package]
|
||||
name = "pumpkin-nbt-fuzz"
|
||||
version = "0.0.0"
|
||||
publish = false
|
||||
edition = "2024"
|
||||
|
||||
[workspace]
|
||||
|
||||
[package.metadata]
|
||||
cargo-fuzz = true
|
||||
|
||||
[dependencies]
|
||||
libfuzzer-sys = "0.4"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
arbitrary = { version = "1.3", features = ["derive"] }
|
||||
|
||||
[dependencies.pumpkin-nbt]
|
||||
path = ".."
|
||||
|
||||
[[bin]]
|
||||
name = "deserialize"
|
||||
path = "fuzz_targets/deserialize.rs"
|
||||
test = false
|
||||
doc = false
|
||||
bench = false
|
||||
|
||||
[[bin]]
|
||||
name = "deserialize_serde"
|
||||
path = "fuzz_targets/deserialize_serde.rs"
|
||||
test = false
|
||||
doc = false
|
||||
bench = false
|
||||
|
||||
[[bin]]
|
||||
name = "decompress_gzip"
|
||||
path = "fuzz_targets/decompress_gzip.rs"
|
||||
test = false
|
||||
doc = false
|
||||
bench = false
|
||||
|
||||
[[bin]]
|
||||
name = "roundtrip"
|
||||
path = "fuzz_targets/roundtrip.rs"
|
||||
test = false
|
||||
doc = false
|
||||
bench = false
|
||||
Reference in new issue
Block a user