Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. [package]
  2. name = "d-oauth-fuzz"
  3. version = "0.0.0"
  4. publish = false
  5. edition = "2024"
  6. [package.metadata]
  7. cargo-fuzz = true
  8. # Standalone workspace: the fuzz crate is never built by the pinned stable
  9. # toolchain at the repo root (`cargo nextest run --all-targets` ignores it).
  10. # It builds only under the nightly leg in CI (`fuzz/rust-toolchain.toml`).
  11. [workspace]
  12. [dependencies]
  13. base64 = "0.23"
  14. jsonwebtoken = { version = "11", default-features = false, features = ["rust_crypto"] }
  15. libfuzzer-sys = "0.4"
  16. secrecy = "0.10.3"
  17. serde_json = "1"
  18. time = "0.3"
  19. uuid = "1"
  20. [dependencies.d-oauth]
  21. path = ".."
  22. # Explicit binaries: nightly cargo rejects `cargo build --bins` (which
  23. # `cargo fuzz build` issues) when the manifest declares no targets.
  24. [[bin]]
  25. name = "token_form"
  26. path = "fuzz_targets/token_form.rs"
  27. [[bin]]
  28. name = "dcr_json"
  29. path = "fuzz_targets/dcr_json.rs"
  30. [[bin]]
  31. name = "jar_claims"
  32. path = "fuzz_targets/jar_claims.rs"
  33. [[bin]]
  34. name = "dpop_proof"
  35. path = "fuzz_targets/dpop_proof.rs"
  36. [[bin]]
  37. name = "jar_verify"
  38. path = "fuzz_targets/jar_verify.rs"
  39. [[bin]]
  40. name = "redirect_uri"
  41. path = "fuzz_targets/redirect_uri.rs"
  42. [[bin]]
  43. name = "scope_parse"
  44. path = "fuzz_targets/scope_parse.rs"
  45. [[bin]]
  46. name = "jwt_access_verify"
  47. path = "fuzz_targets/jwt_access_verify.rs"
  48. [[bin]]
  49. name = "cimd_document"
  50. path = "fuzz_targets/cimd_document.rs"
  51. [[bin]]
  52. name = "mtls_cert"
  53. path = "fuzz_targets/mtls_cert.rs"
  54. [[bin]]
  55. name = "params_form"
  56. path = "fuzz_targets/params_form.rs"
  57. [[bin]]
  58. name = "ssrf_url"
  59. path = "fuzz_targets/ssrf_url.rs"
  60. [[bin]]
  61. name = "totp_input"
  62. path = "fuzz_targets/totp_input.rs"
  63. [[bin]]
  64. name = "pkce"
  65. path = "fuzz_targets/pkce.rs"