tse-client 0.3.0

A client for fetching stock data from the Tehran Stock Exchange (TSETMC). Rust port of the tse-client npm package.
Documentation
# 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 = "tse-client"
version = "0.3.0"
authors = ["Mehdi Abdi <m.abdi.public@gmail.com>"]
build = false
exclude = [
    "/target",
    "/.git",
    "/.gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A client for fetching stock data from the Tehran Stock Exchange (TSETMC). Rust port of the tse-client npm package."
documentation = "https://docs.rs/tse-client"
readme = "README.md"
keywords = [
    "tsetmc",
    "tse",
    "tehran",
    "stock",
    "finance",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/m-abdi/tse-client"

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

[[example]]
name = "get_instruments"
path = "examples/get_instruments.rs"

[[example]]
name = "get_intraday"
path = "examples/get_intraday.rs"

[[example]]
name = "get_prices"
path = "examples/get_prices.rs"

[[example]]
name = "group_prices"
path = "examples/group_prices.rs"

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

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

[dependencies.dirs]
version = "5"

[dependencies.flate2]
version = "1"

[dependencies.once_cell]
version = "1"

[dependencies.ptime]
version = "0.1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.rust_decimal]
version = "1"

[dependencies.rust_decimal_macros]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.time]
version = "0.3"
features = ["local-offset"]

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "sync",
]

[dev-dependencies.tokio]
version = "1"
features = ["full"]