[package] name = "ferro_ta_core" version = "1.2.0" edition = "2021" description = "Pure Rust core indicator library — no PyO3, no numpy dependency" license = "MIT" readme = "README.md" repository = "https://github.com/pratikbhadane24/ferro-ta" homepage = "https://github.com/pratikbhadane24/ferro-ta#readme" documentation = "https://docs.rs/ferro_ta_core" keywords = ["technical-analysis", "trading", "indicators", "finance", "ta-lib"] categories = ["finance", "mathematics"] [lib] name = "ferro_ta_core" crate-type = ["lib"] [dependencies] multiversion = { version = "0.8", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } [dev-dependencies] criterion = { version = "0.8", features = ["html_reports"] } [[bench]] name = "indicators" harness = false [features] # Runtime CPU-feature dispatch (multiversion). Default ON so `cargo add # ferro_ta_core` and the published wheels get SIMD-accelerated reductions # that adapt to the running CPU (baseline .. AVX-512 / NEON) WITHOUT pinning # a target-cpu — one binary runs on any CPU of the target arch, with no # illegal-instruction crashes on older chips. Disable with # `--no-default-features` for a pure-scalar build. default = ["simd"] simd = ["dep:multiversion"] serde = ["dep:serde", "dep:serde_json"]