Cargo.toml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. serde_json = "1"
  17. time = "0.3"
  18. uuid = "1"
  19. [dependencies.d-oauth]
  20. path = ".."
  21. # Explicit binaries: nightly cargo rejects `cargo build --bins` (which
  22. # `cargo fuzz build` issues) when the manifest declares no targets.
  23. [[bin]]
  24. name = "token_form"
  25. path = "fuzz_targets/token_form.rs"
  26. [[bin]]
  27. name = "dcr_json"
  28. path = "fuzz_targets/dcr_json.rs"
  29. [[bin]]
  30. name = "jar_claims"
  31. path = "fuzz_targets/jar_claims.rs"
  32. [[bin]]
  33. name = "dpop_proof"
  34. path = "fuzz_targets/dpop_proof.rs"
  35. [[bin]]
  36. name = "jar_verify"
  37. path = "fuzz_targets/jar_verify.rs"
  38. [[bin]]
  39. name = "redirect_uri"
  40. path = "fuzz_targets/redirect_uri.rs"
  41. [[bin]]
  42. name = "scope_parse"
  43. path = "fuzz_targets/scope_parse.rs"