# 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 = "alpha_vantage"
version = "0.9.0"
authors = ["Saurav Sharma <appdroiddeveloper@gmail.com>"]
description = "Rust Wrapper/Crate built for AlphaVantage API"
homepage = "https://github.com/iamsauravsharma/alpha_vantage"
readme = "README.MD"
keywords = [
    "alphavantage",
    "currency",
    "finance",
    "stock",
    "exchange",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/iamsauravsharma/alpha_vantage"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.async-trait]
version = "0.1.58"

[dependencies.reqwest]
version = "0.11.12"
optional = true

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

[dependencies.serde_json]
version = "1.0.87"

[dependencies.surf]
version = "2.3.2"
optional = true

[dependencies.thiserror]
version = "1.0.37"

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

[features]
default = ["reqwest-client"]
reqwest-client = ["reqwest"]
surf-client = ["surf"]
