pdftract/fuzz/Cargo.toml
jedarden 58a177d3b4 docs(pdftract-aawrz): add LICENSE-MIT and LICENSE-APACHE files
Add dual MIT OR Apache-2.0 licensing at repo root with proper copyright
notices. Configure all workspace and non-workspace crates to declare the
license. Wire license files into Python wheels and Docker images.

Files added:
- LICENSE-MIT: MIT License with "Copyright (c) 2026 Jed Cabanero"
- LICENSE-APACHE: Apache License 2.0 (verbatim from apache.org)

Files modified:
- Cargo.toml: Updated authors to "Jed Cabanero <me@jedcabanero.com>"
- crates/pdftract-py/pyproject.toml: Added license-files to maturin config
- crates/pdftract-cer-diff/Cargo.toml: Added license.workspace = true
- xtask/Cargo.toml: Added license = "MIT OR Apache-2.0"
- fuzz/Cargo.toml: Added license = "MIT OR Apache-2.0"
- Cargo-dist.toml: Created to include license files in binary archives
- notes/pdftract-aawrz.md: Verification note

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 10:36:28 -04:00

37 lines
697 B
TOML

[package]
name = "pdftract-fuzz"
version = "0.0.0"
edition = "2021"
license = "MIT OR Apache-2.0"
publish = false
[package.metadata]
cargo-fuzz = true
[dependencies]
pdftract-core = { path = "../crates/pdftract-core" }
libfuzzer-sys = { version = "0.4", features = ["arbitrary-derive"] }
# Prevent this from interfering with the workspace library
[workspace]
members = ["."]
[[bin]]
name = "lexer"
path = "fuzz_targets/lexer.rs"
[[bin]]
name = "object_parser"
path = "fuzz_targets/object_parser.rs"
[[bin]]
name = "xref"
path = "fuzz_targets/xref.rs"
[[bin]]
name = "stream_decoder"
path = "fuzz_targets/stream_decoder.rs"
[[bin]]
name = "cmap_parser"
path = "fuzz_targets/cmap_parser.rs"