diff --git a/Cargo.toml b/Cargo.toml index 30829bc..74bde5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,9 @@ include = [ "external/bcmaps/**", "docs/rust-api.md", "LICENSE", + # maturin derives the sdist file list from this allowlist; the stub must + # ship so wheels built from the sdist keep their type hints. + "pdf_inspector.pyi", ] [lib] diff --git a/pyproject.toml b/pyproject.toml index 3bac64f..dc46b13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "maturin" name = "pdf-inspector" # Bump this to publish to PyPI — CI publishes automatically when the version # changes on main (same flow as napi/package.json for npm). -version = "0.2.3" +version = "0.2.4" description = "Fast PDF inspection, classification, and text extraction with smart scanned vs text-based detection" readme = "docs/python.md" license = { text = "MIT" }