Files
ferro-ta/crates/ferro_ta_core/Cargo.toml
T

40 lines
1.3 KiB
TOML
Raw Normal View History

2026-03-23 23:34:28 +05:30
[package]
name = "ferro_ta_core"
2026-04-07 23:38:36 +05:30
version = "1.1.4"
2026-03-23 23:34:28 +05:30
edition = "2021"
description = "Pure Rust core indicator library — no PyO3, no numpy dependency"
license = "MIT"
2026-03-24 00:38:50 +05:30
readme = "README.md"
2026-03-23 23:34:28 +05:30
repository = "https://github.com/pratikbhadane24/ferro-ta"
homepage = "https://github.com/pratikbhadane24/ferro-ta#readme"
2026-03-24 00:38:50 +05:30
documentation = "https://docs.rs/ferro_ta_core"
2026-03-23 23:34:28 +05:30
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 }
2026-03-30 12:45:52 +05:30
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", optional = true }
2026-03-23 23:34:28 +05:30
[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"]
2026-03-30 12:45:52 +05:30
serde = ["dep:serde", "dep:serde_json"]