mirror of
https://github.com/serde-rs/json.git
synced 2025-10-01 23:11:39 +00:00
Touch up PR 668
This commit is contained in:
parent
2dc46d1d07
commit
be11c917b4
7
fuzz/.gitignore
vendored
7
fuzz/.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
|
||||
target
|
||||
corpus
|
||||
artifacts
|
||||
artifacts/
|
||||
corpus/
|
||||
target/
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
[package]
|
||||
name = "serde_json-fuzz"
|
||||
version = "0.0.0"
|
||||
@ -11,14 +10,11 @@ cargo-fuzz = true
|
||||
|
||||
[dependencies]
|
||||
libfuzzer-sys = "0.3"
|
||||
|
||||
[dependencies.serde_json]
|
||||
path = ".."
|
||||
|
||||
# Prevent this from interfering with workspaces
|
||||
[workspace]
|
||||
members = ["."]
|
||||
serde_json = { path = ".." }
|
||||
|
||||
[[bin]]
|
||||
name = "from_slice"
|
||||
path = "fuzz_targets/from_slice.rs"
|
||||
|
||||
# Prevent this from interfering with workspaces
|
||||
[workspace]
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![no_main]
|
||||
|
||||
use libfuzzer_sys::fuzz_target;
|
||||
use serde_json::{from_slice, Value};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user