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>
26 lines
760 B
TOML
26 lines
760 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["crates/pdftract-core", "crates/pdftract-cli", "crates/pdftract-py", "crates/pdftract-libpdftract"]
|
|
exclude = ["tests/fixtures/generate_lzw_fixtures.rs"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.78"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/jedarden/pdftract"
|
|
authors = ["Jed Cabanero <me@jedcabanero.com>"]
|
|
homepage = "https://github.com/jedarden/pdftract"
|
|
documentation = "https://docs.rs/pdftract-core"
|
|
|
|
[workspace.dependencies]
|
|
# Dependencies shared across workspace crates
|
|
anyhow = "1.0"
|
|
flate2 = "1.0"
|
|
lzw = "0.10"
|
|
memchr = "2.7"
|
|
secrecy = "0.10"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
thiserror = "1.0"
|
|
tracing = "0.1"
|
|
unicode-normalization = "0.1"
|