- 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>
15 lines
330 B
TOML
15 lines
330 B
TOML
# Cargo config for pdftract workspace
|
|
# Build aliases used by CI workflows and local development
|
|
|
|
[alias]
|
|
# CI-compatible aliases
|
|
bench-ci = "bench --features benchmark"
|
|
test-ci = "test --workspace"
|
|
|
|
# Development conveniences
|
|
b = "build"
|
|
br = "build --release"
|
|
c = "check"
|
|
cr = "check --release"
|
|
t = "test"
|
|
tr = "test --release"
|