# 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 = "2021"
name = "fin-proxy-client"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed Rust client for the fin-proxy financial-data API"
readme = "README.md"
keywords = [
    "finance",
    "fmp",
    "api-client",
    "trading",
]
categories = ["api-bindings"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/daiwanwei/fin-proxy"

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

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

[dependencies.motosan-finance]
version = "0.7.4"
default-features = false

[dependencies.motosan-finance-fmp]
version = "0.7.4"

[dependencies.motosan-finance-polygon]
version = "0.7.4"

[dependencies.motosan-finance-sec]
version = "0.7.4"

[dependencies.motosan-finance-twse]
version = "0.7.4"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.url]
version = "2"

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

[dev-dependencies.wiremock]
version = "0.6"
