From 8f3140a33fa76be248883539d8ecb51b7a7700e2 Mon Sep 17 00:00:00 2001 From: manunio Date: Mon, 11 Sep 2023 18:21:59 +0530 Subject: fuzz: Add fuzz for askama_parser --- askama_parser/fuzz/Cargo.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 askama_parser/fuzz/Cargo.toml (limited to 'askama_parser/fuzz/Cargo.toml') diff --git a/askama_parser/fuzz/Cargo.toml b/askama_parser/fuzz/Cargo.toml new file mode 100644 index 0000000..3190e5a --- /dev/null +++ b/askama_parser/fuzz/Cargo.toml @@ -0,0 +1,27 @@ +[package] +name = "askama_parser-fuzz" +version = "0.0.0" +publish = false +edition = "2021" + +[package.metadata] +cargo-fuzz = true + +[dependencies] +libfuzzer-sys = "0.4" + +[dependencies.askama_parser] +path = ".." + +# Prevent this from interfering with workspaces +[workspace] +members = ["."] + +[profile.release] +debug = 1 + +[[bin]] +name = "fuzz_parser" +path = "fuzz_targets/fuzz_parser.rs" +test = false +doc = false -- cgit