Cargo.toml
| 1 | [package] |
| 2 | name = "otproto-fuzz" |
| 3 | version = "0.0.0" |
| 4 | publish = false |
| 5 | edition = "2024" |
| 6 | |
| 7 | [package.metadata] |
| 8 | cargo-fuzz = true |
| 9 | |
| 10 | [dependencies] |
| 11 | libfuzzer-sys = "0.4" |
| 12 | otproto = { path = ".." } |
| 13 | |
| 14 | [[bin]] |
| 15 | name = "decode" |
| 16 | path = "fuzz_targets/decode.rs" |
| 17 | test = false |
| 18 | doc = false |
| 19 | bench = false |
| 20 | |
| 21 | [[bin]] |
| 22 | name = "decode_payload" |
| 23 | path = "fuzz_targets/decode_payload.rs" |
| 24 | test = false |
| 25 | doc = false |
| 26 | bench = false |
| 27 | |
| 28 | [profile.release] |
| 29 | debug = 1 |
| 30 | |
| 31 | # cargo-fuzz invokes cargo directly on this manifest, which then finds the |
| 32 | # workspace root above it. An empty table detaches it. |
| 33 | [workspace] |
| 34 |