mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
eb226beea8
This PR introduces fuzz tests and address #592
34 lines
656 B
TOML
34 lines
656 B
TOML
|
|
[package]
|
|
name = "grin_core-fuzz"
|
|
version = "0.0.1"
|
|
authors = ["Automatically generated"]
|
|
publish = false
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[dependencies]
|
|
grin_core = { path = ".."}
|
|
grin_keychain = { path = "../../keychain"}
|
|
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
|
|
|
|
# Prevent this from interfering with workspaces
|
|
[workspace]
|
|
members = ["."]
|
|
|
|
[[bin]]
|
|
name = "transaction_read"
|
|
path = "fuzz_targets/transaction_read.rs"
|
|
|
|
[[bin]]
|
|
name = "gen-corpus"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "block_read"
|
|
path = "fuzz_targets/block_read.rs"
|
|
|
|
[[bin]]
|
|
name = "compact_block_read"
|
|
path = "fuzz_targets/compact_block_read.rs"
|