summaryrefslogtreecommitdiff
path: root/tests/fuzz/Cargo.toml
diff options
context:
space:
mode:
authorNathaniel Brough <nathaniel.brough@gmail.com>2023-12-05 10:26:58 -0800
committerGitHub <noreply@github.com>2023-12-05 19:26:58 +0100
commit9aadb18186c0804f6cc6179bf8ea993337dc669d (patch)
tree95cc87193e1b9d1255b45894830ba98b372bde5f /tests/fuzz/Cargo.toml
parent0ebce56b36ea2a875609949f4da81c9ca6a4a081 (diff)
Add simple fuzz testing (#2581)
Diffstat (limited to 'tests/fuzz/Cargo.toml')
-rw-r--r--tests/fuzz/Cargo.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/fuzz/Cargo.toml b/tests/fuzz/Cargo.toml
new file mode 100644
index 00000000..1b9e6b26
--- /dev/null
+++ b/tests/fuzz/Cargo.toml
@@ -0,0 +1,27 @@
+[package]
+name = "typst-fuzz"
+version.workspace = true
+edition.workspace = true
+publish = false
+
+[package.metadata]
+cargo-fuzz = true
+
+[dependencies]
+typst = { workspace = true }
+typst-render = { workspace = true }
+typst-syntax = { workspace = true }
+comemo = { workspace = true }
+libfuzzer-sys = { workspace = true }
+
+[[bin]]
+name = "parse"
+path = "src/parse.rs"
+test = false
+doc = false
+
+[[bin]]
+name = "compile"
+path = "src/compile.rs"
+test = false
+doc = false