pdftract/Cargo.toml
jedarden 5e3e0a6983 feat(pdftract-279): stand up Cargo workspace with three member crates
- Configure workspace with pdftract-core, pdftract-cli, pdftract-py members
- Add workspace.package metadata: version, edition, rust-version (1.78), license (MIT OR Apache-2.0)
- Add workspace.dependencies for shared external deps (anyhow, flate2, lzw, memchr, secrecy, serde, thiserror, tracing)
- Create .cargo/config.toml with CI and development build aliases
- All member crates reference workspace metadata via workspace = true
- pdftract-py configured as cdylib with pyo3 extension-module feature

Acceptance criteria:
- PASS: 3 workspace members listed by cargo metadata
- PASS: All crates use workspace metadata references
- WARN: cargo build fails due to code compilation errors (separate concern)

Refs: pdftract-279, plan lines 3343-3367

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 18:09:34 -04:00

24 lines
639 B
TOML

[workspace]
resolver = "2"
members = ["crates/pdftract-core", "crates/pdftract-cli", "crates/pdftract-py"]
[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 = ["Jedarden <bot@ardenone.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"