moex-client 0.1.0

Strictly-typed, unofficial Rust client for Moscow Exchange ISS API.
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"
name = "moex-client"
version = "0.1.0"
authors = ["hexqnt <kvover@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strictly-typed, unofficial Rust client for Moscow Exchange ISS API."
homepage = "https://github.com/hexqnt/moex-client"
documentation = "https://docs.rs/moex-client"
readme = "README.md"
keywords = [
    "moex",
    "iss",
    "api-client",
    "exchange",
    "finance",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hexqnt/moex-client"

[features]
async = ["transport"]
blocking = [
    "transport",
    "reqwest/blocking",
]
default = [
    "blocking",
    "rustls-tls",
]
history = []
native-tls = [
    "transport",
    "reqwest/default-tls",
]
news = []
rustls-tls = [
    "transport",
    "reqwest/rustls",
]
transport = ["dep:reqwest"]

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

[[example]]
name = "actual_indexes_dump"
path = "examples/actual_indexes_dump.rs"
required-features = ["blocking"]

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

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.reqwest]
version = "0.13"
features = ["json"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["raw_value"]

[dependencies.thiserror]
version = "2"

[profile.dev]
opt-level = 1
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true