Files

53 lines
1.8 KiB
TOML
Raw Permalink Normal View History

2026-03-23 23:34:28 +05:30
[workspace]
members = [".", "crates/ferro_ta_core"]
exclude = ["fuzz"]
resolver = "2"
[package]
name = "ferro_ta"
2026-06-29 18:31:08 +05:30
version = "1.2.0"
2026-03-23 23:34:28 +05:30
edition = "2021"
2026-03-24 11:23:41 +05:30
description = "Rust-powered Python technical analysis library with a TA-Lib-compatible API"
2026-03-23 23:34:28 +05:30
license = "MIT"
2026-03-24 11:23:41 +05:30
readme = "README.md"
repository = "https://github.com/pratikbhadane24/ferro-ta"
homepage = "https://github.com/pratikbhadane24/ferro-ta#readme"
documentation = "https://pratikbhadane24.github.io/ferro-ta/"
keywords = ["technical-analysis", "trading", "indicators", "finance", "ta-lib"]
categories = ["finance", "mathematics"]
2026-03-23 23:34:28 +05:30
publish = false
[lib]
name = "ferro_ta"
crate-type = ["cdylib"]
[dependencies]
# abi3-py310: build a single stable-ABI wheel that runs on CPython 3.10+
# (including future 3.14+), instead of one wheel per minor version.
pyo3 = { version = "0.25", features = ["extension-module", "abi3-py310"] }
2026-03-23 23:34:28 +05:30
ta = "0.5.0"
numpy = "0.25"
# Must be < 0.17 while numpy 0.25 is used (numpy's IntoPyArray is for its own ndarray only).
ndarray = "0.16"
rayon = "1.10"
log = "0.4"
pyo3-log = "0.12"
# default-features = false so the `simd` toggle is forwarded explicitly via
# this crate's own `simd` feature (below). Without this, core's default `simd`
# would always be on and `--no-default-features` could never produce a true
# pure-scalar build (used by the SIMD benchmark baseline).
2026-06-29 18:31:08 +05:30
ferro_ta_core = { path = "crates/ferro_ta_core", version = "1.2.0", default-features = false, features = ["serde"] }
2026-03-23 23:34:28 +05:30
[dev-dependencies]
criterion = { version = "0.8", features = ["html_reports"] }
[profile.release]
lto = true
codegen-units = 1
[features]
# SIMD runtime dispatch ON by default → published wheels ship the adaptive
# fast path with no extra flags. `--no-default-features` yields pure scalar.
default = ["simd"]
2026-03-23 23:34:28 +05:30
simd = ["ferro_ta_core/simd"]