[build-system]
requires = ["maturin>=1.9,<2.0"]
build-backend = "maturin"
[project]
name = "standard_knowledge"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
readme = "Readme.md"
description = "Programmatically augmenting CF Standards with operational knowledge."
license = "Apache-2.0"
[dependency-groups]
dev = [
"pytest>=8.3.5",
]
[tool.maturin]
features = ["pyo3/extension-module"]
module-name = "standard_knowledge._standard_knowledge_py"
python-source = "python"
exclude = ["Readme.md"]
[tool.uv]
cache-keys = [{file = "pyproject.toml"}, {file = "Cargo.toml"}, {file = "src/**/*.rs"}, {file = "python/**/*.py"}, {file = "../core/standards/*.yaml"}, {file = "../core/src/**/*.rs"}]
[tool.cibuildwheel]
test-groups = ["dev"]
test-command = "python -m pytest {project}/py/tests -xv"
skip = [
"cp313-pyodide_wasm32",
]
[tool.cibuildwheel.pyodide]
pyodide-version = "314.0.0"
environment = {"RUSTUP_TOOLCHAIN" = "1.93.0"}