-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (37 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
40 lines (37 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "stochastic-rs"
description = "A high-performance Rust library for simulating stochastic processes with first-class bindings."
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = ["numpy"]
readme = "README.md"
license = {text = "MIT"}
keywords = ["stochastic", "quant", "finance", "simulation", "statistics"]
classifiers = [
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Office/Business :: Financial",
]
[project.urls]
Homepage = "https://github.com/dancixx/stochastic-rs"
Repository = "https://github.com/dancixx/stochastic-rs"
Documentation = "https://docs.rs/stochastic-rs"
# The Python module is produced by the `stochastic-rs-py` cdylib crate (see
# stochastic-rs-py/Cargo.toml), not by the workspace umbrella `stochastic-rs`
# (which is a regular `lib`). `manifest-path` redirects maturin to the right
# crate so `maturin build` / `maturin develop` work from the workspace root.
[tool.maturin]
manifest-path = "stochastic-rs-py/Cargo.toml"
module-name = "stochastic_rs"
# `features` is intentionally NOT pinned here — the `.github/workflows/pypi.yml`
# wheel builds pass platform-specific features explicitly:
# * Linux + macOS → `--features openblas` (system-link + auditwheel/delocate
# bundling)
# * Windows → `--features openblas-static` (vendored, statically linked
# OpenBLAS via `openblas-src` because the prebuilt MinGW `.lib` does not
# link cleanly with MSVC)
# Local `maturin develop` defaults to the empty feature set; pass
# `--features openblas` if you want the full surface during development.