| 1 |
[package] |
| 2 |
name = "docengine-fuzz" |
| 3 |
version = "0.0.0" |
| 4 |
publish = false |
| 5 |
edition = "2024" |
| 6 |
|
| 7 |
[package.metadata] |
| 8 |
cargo-fuzz = true |
| 9 |
|
| 10 |
[dependencies] |
| 11 |
# `arbitrary` with `derive` is what lets the target take `&str` instead of |
| 12 |
# `&[u8]`. The input is markdown and HTML, both text grammars, and byte input |
| 13 |
# would spend most of the fuzzer's budget rediscovering UTF-8 before it reached |
| 14 |
# an angle bracket. |
| 15 |
libfuzzer-sys = { version = "0.4", features = ["arbitrary-derive"] } |
| 16 |
|
| 17 |
[dependencies.docengine] |
| 18 |
path = ".." |
| 19 |
# Every feature, because the doors counted for infra `15991c40` reach across |
| 20 |
# them: `restrict_media_hosts` and `img_to_video` are `media-urls`, and the |
| 21 |
# consumers that call them are the same consumers that call the presets. A |
| 22 |
# default-features fuzz of a crate whose consumers turn features on is fuzzing |
| 23 |
# a build nobody ships. |
| 24 |
features = ["full"] |
| 25 |
|
| 26 |
[[bin]] |
| 27 |
name = "render" |
| 28 |
path = "fuzz_targets/render.rs" |
| 29 |
test = false |
| 30 |
doc = false |
| 31 |
bench = false |
| 32 |
|