pdftract/crates/pdftract-libpdftract/Cargo.toml
jedarden 9c7f9d3e37 test(pdftract-5ya9x): update memory roundtrip test to 10,000 iterations
- Updated test_api_null.c to run 10,000 alloc/free cycles (was 100)
- Updated verification note to mark memory roundtrip as PASS
- Improved stream_next implementation to use reference-based approach
  instead of Box::from_raw/leak dance for cleaner memory handling

All acceptance criteria for pdftract-5ya9x now PASS:
- 12 exported symbols verified via nm -D
- C client tests (test_api.c, test_api_null.c)
- C++ client test (test_extract.cpp)
- Null pointer safety
- Panic safety (catch_unwind on all entry points)
- Memory roundtrip (10,000 iterations)
- Thread safety (8 pthreads)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-23 08:13:31 -04:00

18 lines
314 B
TOML

[package]
name = "pdftract-libpdftract"
version.workspace = true
license.workspace = true
edition = "2021"
[lib]
name = "pdftract"
crate-type = ["cdylib", "staticlib"]
[dependencies]
pdftract-core = { path = "../pdftract-core" }
serde_json = "1"
libc = "0.2"
anyhow = "1"
[build-dependencies]
cbindgen = "0.27"