Add fuzzer for the encoder
This commit is contained in:
parent
dd2ed70e70
commit
0701c95f3d
3 changed files with 57 additions and 0 deletions
25
fuzz/Cargo.toml
Normal file
25
fuzz/Cargo.toml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[package]
|
||||
name = "qoi-fast-fuzz"
|
||||
version = "0.1.0"
|
||||
authors = ["Ivan Smirnov <rust@ivan.smirnov.ie>"]
|
||||
publish = false
|
||||
edition = "2021"
|
||||
|
||||
[package.metadata]
|
||||
cargo-fuzz = true
|
||||
|
||||
[dependencies]
|
||||
# internal
|
||||
qoi-fast = { path = ".." }
|
||||
# external
|
||||
libfuzzer-sys = "0.4"
|
||||
|
||||
# Prevent this from interfering with workspaces
|
||||
[workspace]
|
||||
members = ["."]
|
||||
|
||||
[[bin]]
|
||||
name = "qoi_encode"
|
||||
path = "fuzz_targets/qoi_encode.rs"
|
||||
test = false
|
||||
doc = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue