# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "qta"
version = "3.0.0"
authors = ["Terry Li <terry@eonlabs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Streaming technical analysis indicators for quantitative trading"
homepage = "https://github.com/terrylica/mql5"
documentation = "https://docs.rs/qta"
readme = "README.md"
keywords = [
    "finance",
    "trading",
    "indicators",
    "technical-analysis",
    "zigzag",
]
categories = [
    "algorithms",
    "science",
    "mathematics",
]
license = "MIT"
repository = "https://github.com/terrylica/mql5"
resolver = "2"

[features]
default = []
serde = ["dep:serde"]

[lib]
name = "qta"
path = "src/lib.rs"

[[test]]
name = "invariants"
path = "tests/invariants.rs"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.proptest]
version = "1.10"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1
