Skip to content

Commit

Permalink
Merge pull request #457 from jtraglia/rust-fuzzer
Browse files Browse the repository at this point in the history
Add new Rust fuzzer
  • Loading branch information
asn-d6 authored Jul 25, 2024
2 parents 4fe9508 + 7bfbe5e commit 3644ae9
Show file tree
Hide file tree
Showing 27 changed files with 1,716 additions and 550 deletions.
21 changes: 21 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ serde = ["dep:serde"]
generate-bindings = ["dep:bindgen"]
ethereum_kzg_settings = ["dep:once_cell"]

# Enable this feature when running the tests to generate the fuzzing corpus.
# This converts the yaml reference tests into a binary form for the fuzzer.
generate-fuzz-corpus = []

# This is a standalone feature so that crates that disable default features can
# enable blst/portable without having to add it as a dependency
portable = ["blst/portable"]
Expand All @@ -36,6 +40,7 @@ portable = ["blst/portable"]
no-threads = ["blst/no-threads"]

[dependencies]
arbitrary = { version = "1", features = ["derive"] }
blst = { version = "0.3.11", default-features = false }
hex = { version = "0.4.2", default-features = false, features = ["alloc"] }
libc = { version = "0.2", default-features = false }
Expand Down
Loading

0 comments on commit 3644ae9

Please sign in to comment.