|
| 1 | +[package] |
| 2 | +name = "hyperium-fuzz-targets" |
| 3 | +version = "0.0.0" |
| 4 | +edition = "2021" |
| 5 | +publish = false |
| 6 | + |
| 7 | +[package.metadata] |
| 8 | +cargo-fuzz = true |
| 9 | + |
| 10 | +[features] |
| 11 | +default = ["use_libfuzzer", "use_grammar"] |
| 12 | +use_libfuzzer = ["libfuzzer-sys"] |
| 13 | +use_libafl = ["cargo-libafl-helper"] |
| 14 | +use_grammar = [] |
| 15 | +enable_tracing = [] |
| 16 | + |
| 17 | +[dependencies] |
| 18 | +arbitrary = { version = "1", features = ["derive"] } |
| 19 | +cargo-libafl-helper = { version = "0", optional = true } |
| 20 | +libfuzzer-sys = { version = "0.4", features = ["arbitrary-derive"], optional = true } |
| 21 | + |
| 22 | +hpack = { git = "https://github.com/mlalic/hpack-rs.git", rev = "refs/pull/7/head" } |
| 23 | +hyperium-fuzz-utils = { path = ".." } |
| 24 | +rand = "0.8" |
| 25 | +rand_pcg = "0.3" |
| 26 | + |
| 27 | +futures = { version = "0.3", default-features = false, features = ["std"] } |
| 28 | +tokio = { version = "1", features = ["full"] } |
| 29 | +tokio-test = { version = "0.4" } |
| 30 | + |
| 31 | +bytes = "1" |
| 32 | +lazy_static = "*" |
| 33 | + |
| 34 | +tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
| 35 | +tracing = "*" |
| 36 | + |
| 37 | +# in-scope libraries |
| 38 | +h2 = { path = "../../h2/" } |
| 39 | +h2-support = { path = "../../h2/tests/h2-support" } |
| 40 | +http = { path = "../../http/" } |
| 41 | +http-body = { path = "../../http-body/http-body" } |
| 42 | +http-body-util = { path = "../../http-body/http-body-util" } |
| 43 | +httparse = { path = "../../httparse/" } |
| 44 | +httpdate = { path = "../../httpdate" } |
| 45 | +hyper = { path = "../../hyper/", features = ["full"] } |
| 46 | + |
| 47 | +[patch.crates-io] |
| 48 | +http-body-util = { path = "../../http-body/http-body-util" } |
| 49 | +http-body = { path = "../../http-body/http-body" } |
| 50 | +http = { path = "../../http" } |
| 51 | +h2 = { path = "../../h2", features = ['unstable'] } |
| 52 | +httparse = { path = "../../httparse" } |
| 53 | +httpdate = { path = "../../httpdate" } |
| 54 | +hyper = { path = "../../hyper/" } |
| 55 | + |
| 56 | + |
| 57 | +# Prevent this from interfering with workspaces |
| 58 | +[workspace] |
| 59 | +members = ["."] |
| 60 | + |
| 61 | +[profile.release] |
| 62 | +debug = 1 |
| 63 | + |
| 64 | +[[bin]] |
| 65 | +name = "fuzz_h2_e2e" |
| 66 | +path = "fuzz_targets/h2/e2e.rs" |
| 67 | +test = false |
| 68 | +doc = false |
| 69 | + |
| 70 | +[[bin]] |
| 71 | +name = "fuzz_h2_client_builder" |
| 72 | +path = "fuzz_targets/h2/client_builder.rs" |
| 73 | +test = false |
| 74 | +doc = false |
| 75 | + |
| 76 | +[[bin]] |
| 77 | +name = "fuzz_h2_server2" |
| 78 | +path = "fuzz_targets/h2/server2.rs" |
| 79 | +test = false |
| 80 | +doc = false |
| 81 | + |
| 82 | +[[bin]] |
| 83 | +name = "fuzz_h2_client2" |
| 84 | +path = "fuzz_targets/h2/client2.rs" |
| 85 | +test = false |
| 86 | +doc = false |
| 87 | + |
| 88 | +[[bin]] |
| 89 | +name = "fuzz_h2_hpack" |
| 90 | +path = "fuzz_targets/h2/hpack.rs" |
| 91 | +test = false |
| 92 | +doc = false |
| 93 | + |
| 94 | +[[bin]] |
| 95 | +name = "fuzz_http_http" |
| 96 | +path = "fuzz_targets/http/http.rs" |
| 97 | +test = false |
| 98 | +doc = false |
| 99 | + |
| 100 | +[[bin]] |
| 101 | +name = "fuzz_http_uri" |
| 102 | +path = "fuzz_targets/http/uri.rs" |
| 103 | +test = false |
| 104 | +doc = false |
| 105 | + |
| 106 | +[[bin]] |
| 107 | +name = "fuzz_httparse_chunk_size" |
| 108 | +path = "fuzz_targets/httparse/parse_chunk_size.rs" |
| 109 | +test = false |
| 110 | +doc = false |
| 111 | + |
| 112 | +[[bin]] |
| 113 | +name = "fuzz_httparse_headers" |
| 114 | +path = "fuzz_targets/httparse/parse_headers.rs" |
| 115 | +test = false |
| 116 | +doc = false |
| 117 | + |
| 118 | +[[bin]] |
| 119 | +name = "fuzz_httpdate_roundtrip" |
| 120 | +path = "fuzz_targets/httpdate/roundtrip.rs" |
| 121 | +test = false |
| 122 | +doc = false |
| 123 | + |
| 124 | +[[bin]] |
| 125 | +name = "fuzz_httparse_request" |
| 126 | +path = "fuzz_targets/httparse/parse_request.rs" |
| 127 | +test = false |
| 128 | +doc = false |
| 129 | + |
| 130 | +[[bin]] |
| 131 | +name = "fuzz_httparse_response" |
| 132 | +path = "fuzz_targets/httparse/parse_response.rs" |
| 133 | +test = false |
| 134 | +doc = false |
0 commit comments