czsc-utils 1.0.1

Utilities of the czsc framework (most users should depend on the `czsc` facade instead): BarGenerator, frequency calendar, trading-time helpers.
# 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"
name = "czsc-utils"
version = "1.0.1"
authors = ["zengbin93 <zeng_bin8888@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities of the czsc framework (most users should depend on the `czsc` facade instead): BarGenerator, frequency calendar, trading-time helpers."
homepage = "https://github.com/waditu/czsc"
documentation = "https://docs.rs/czsc-core"
readme = "README.md"
keywords = [
    "czsc",
    "quant",
    "technical-analysis",
    "trading",
    "finance",
]
categories = [
    "finance",
    "mathematics",
    "science",
]
license = "MIT"
repository = "https://github.com/waditu/czsc"
resolver = "2"

[features]
python = [
    "pyo3",
    "pyo3-stub-gen",
]

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.czsc-core]
version = "=1.0.1"

[dependencies.czsc-derive]
version = "=1.0.1"

[dependencies.hashbrown]
version = "0.17"

[dependencies.once_cell]
version = "1"

[dependencies.parking_lot]
version = "0.12"

[dependencies.polars]
version = "0.52.0"
features = [
    "lazy",
    "serde",
    "strings",
    "concat_str",
    "pivot",
    "is_in",
    "cum_agg",
    "abs",
    "ipc",
    "round_series",
    "dtype-datetime",
    "temporal",
    "parquet",
    "timezones",
    "fmt",
    "partition_by",
    "ipc",
    "partition_by",
]

[dependencies.pyo3]
version = "0.28"
features = ["chrono"]
optional = true

[dependencies.pyo3-stub-gen]
version = "0.22"
optional = true

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.thiserror]
version = "2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]

[dev-dependencies.polars]
version = "0.52.0"
features = [
    "lazy",
    "serde",
    "strings",
    "concat_str",
    "pivot",
    "is_in",
    "cum_agg",
    "abs",
    "ipc",
    "round_series",
    "dtype-datetime",
    "temporal",
    "parquet",
    "timezones",
    "fmt",
    "partition_by",
]