[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[project]
name = "bobine"
version = "0.5.11"
description = "PDF / Office / text → Markdown ingestion engine (Rust core with Python bindings)"
license = "Apache-2.0 OR MIT"
authors = [{ name = "opticsWolf", email = "opticswolf@protonmail.com" }]
readme = "README.md"
requires-python = ">=3.9"
[project.urls]
Homepage = "https://github.com/opticsWolf/bobine"
Repository = "https://github.com/opticsWolf/bobine"
Documentation = "https://github.com/opticsWolf/bobine/docs"
Issues = "https://github.com/opticsWolf/bobine/issues"
[project.optional-dependencies]
cpu = ["onnxruntime>=1.28"]
gpu = ["onnxruntime-gpu[cuda,cudnn]>=1.28"]
formula = []
[tool.maturin]
features = ["extension-module"]
python-source = "python"
module-name = "bobine._native"
bindings = "pyo3"
strip = true
exclude = ["**/__pycache__/**", "**/*.pyc", "**/*.pyd", "**/*.pdb"]