ZKAC/pyproject.toml
2026-05-06 15:05:53 +02:00

42 lines
889 B
TOML

[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "zkac"
version = "0.6.0"
description = "Zero-Knowledge Access Control: BBS+ anonymous credentials with encrypted transport"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"ipykernel>=6.31.0",
]
[project.optional-dependencies]
# Editable install of ``cli/`` (``zkac-node`` console script). Not part of the base
# ``uv sync`` so library-only installs stay minimal; use ``--extra cli`` or ``demo``.
cli = ["zkac-node"]
demo = [
"flask>=3.0",
"flask-sock>=0.7",
"zkac-node",
]
dev = [
"maturin>=1.0,<2.0",
"zkac-node",
]
[tool.uv.sources]
zkac-node = { path = "cli", editable = true }
[tool.maturin]
features = ["python"]
module-name = "zkac._zkac"
python-source = "python"
[dependency-groups]
dev = [
"matplotlib>=3.10.9",
"nbconvert>=7.17.1",
]