[build-system] requires = ["maturin>=1.0,<2.0"] build-backend = "maturin" [project] name = "pdf-inspector" # Version is sourced from Cargo.toml [package] version by maturin so the Python # artifact always tracks the crate release instead of drifting on its own. dynamic = ["version"] description = "Fast PDF inspection, classification, and text extraction with smart scanned vs text-based detection" license = { text = "MIT" } requires-python = ">=3.8" classifiers = [ "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Text Processing", ] [tool.maturin] features = ["python"]