The extract_markdown stub was calling extract_text instead of extract_text_fn, causing a compilation error. This fixes the function name to match the exported function from extract_text.rs. This completes the extract_text PyO3 entry point implementation, which was already present in extract_text.rs and lib.rs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
22 lines
459 B
TOML
22 lines
459 B
TOML
[package]
|
|
name = "pdftract-py"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "pdftract"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
pdftract-core = { path = "../pdftract-core" }
|
|
pyo3 = { version = "0.20", features = ["extension-module", "abi3-py310"] }
|
|
pythonize = "0.20"
|
|
secrecy = "0.10"
|
|
|
|
[features]
|
|
default = ["pyo3/extension-module"]
|