[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[project]
name = "alfars"
version = "0.2.11"
description = "High-performance factor expression and backtesting library (Rust + PyO3)"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [{name = "EthanNOV56", email = "yichen_1226@163.com"}]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Financial and Insurance Industry",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Rust",
    "Topic :: Office/Business :: Financial :: Investment",
    "Topic :: Scientific/Engineering :: Mathematics",
]

dependencies = [
    "jupyter>=1.1.1",
    "numpy>=1.20",
    "pandas>=1.3",
    "polars>=1.8.2",
]

[project.optional-dependencies]
dev = [
    "pytest>=7.0",
    "pytest-benchmark>=4.0",
    "jupyter>=1.0",
    "matplotlib>=3.5",
]

[project.urls]
Homepage = "https://github.com/EthanNOV56/alfa.rs"
Repository = "https://github.com/EthanNOV56/alfa.rs"

[project.aliases]
alfars = "alfars"

[tool.maturin]
module-name = "alfars._core"
features = ["pyo3/extension-module"]
