[package] name = "d-oauth-fuzz" version = "0.0.0" publish = false edition = "2024" [package.metadata] cargo-fuzz = true # Standalone workspace: the fuzz crate is never built by the pinned stable # toolchain at the repo root (`cargo nextest run --all-targets` ignores it). # It builds only under the nightly leg in CI (`fuzz/rust-toolchain.toml`). [workspace] [dependencies] base64 = "0.23" jsonwebtoken = { version = "11", default-features = false, features = ["rust_crypto"] } libfuzzer-sys = "0.4" secrecy = "0.10.3" serde_json = "1" time = "0.3" uuid = "1" [dependencies.d-oauth] path = ".." # Explicit binaries: nightly cargo rejects `cargo build --bins` (which # `cargo fuzz build` issues) when the manifest declares no targets. [[bin]] name = "token_form" path = "fuzz_targets/token_form.rs" [[bin]] name = "dcr_json" path = "fuzz_targets/dcr_json.rs" [[bin]] name = "jar_claims" path = "fuzz_targets/jar_claims.rs" [[bin]] name = "dpop_proof" path = "fuzz_targets/dpop_proof.rs" [[bin]] name = "jar_verify" path = "fuzz_targets/jar_verify.rs" [[bin]] name = "redirect_uri" path = "fuzz_targets/redirect_uri.rs" [[bin]] name = "scope_parse" path = "fuzz_targets/scope_parse.rs" [[bin]] name = "jwt_access_verify" path = "fuzz_targets/jwt_access_verify.rs" [[bin]] name = "cimd_document" path = "fuzz_targets/cimd_document.rs" [[bin]] name = "mtls_cert" path = "fuzz_targets/mtls_cert.rs" [[bin]] name = "params_form" path = "fuzz_targets/params_form.rs" [[bin]] name = "ssrf_url" path = "fuzz_targets/ssrf_url.rs" [[bin]] name = "totp_input" path = "fuzz_targets/totp_input.rs" [[bin]] name = "pkce" path = "fuzz_targets/pkce.rs"