# 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 = "borsa"
version = "0.1.1"
authors = ["Giovanni Ramistella <contact@borsa.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level, pluggable market data API for Rust with multi-provider support."
homepage = "https://github.com/borsaorg/borsa"
documentation = "https://docs.rs/borsa"
readme = "README.md"
keywords = [
    "finance",
    "stocks",
    "trading",
    "api",
    "market-data",
]
categories = [
    "api-bindings",
    "finance",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/borsaorg/borsa"
resolver = "2"

[features]
dataframe = ["borsa-core/dataframe"]
default = []

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

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

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

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

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

[dependencies.borsa-core]
version = "0.1.1"

[dependencies.chrono]
version = "0.4.42"

[dependencies.futures]
version = "0.3"

[dependencies.rand]
version = "0.9.2"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
]

[dev-dependencies.borsa-mock]
version = "0.1.1"

[dev-dependencies.rust_decimal]
version = "1.36"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
    "test-util",
]
