# 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 = "market-data" version = "0.3.3" authors = ["Dan Rusei "] exclude = [".github/*"] description = "A Rust lib to fetch & enhance historical time-series stock market data" documentation = "https://docs.rs/market-data" readme = "README.md" keywords = [ "stock_time-series", "market-data", "equities_data", ] license = "Apache-2.0" repository = "https://github.com/danrusei/market-data" [[example]] name = "series_iexcloud" path = "examples/series_iexcloud.rs" required-features = ["use-sync"] [[example]] name = "series_alphavantage" path = "examples/series_alphavantage.rs" required-features = ["use-sync"] [[example]] name = "series_twelvedata" path = "examples/series_twelvedata.rs" required-features = ["use-sync"] [[example]] name = "async_series_twelvedata" path = "examples/async_series_twelvedata.rs" required-features = ["use-async"] [[example]] name = "series_polygon_io" path = "examples/series_polygon_io.rs" required-features = ["use-sync"] [[example]] name = "series_yahoo_finance" path = "examples/series_yahoo_finance.rs" required-features = ["use-sync"] [dependencies.chrono] version = "0.4.34" features = ["serde"] [dependencies.reqwest] version = "0.11.24" features = ["json"] optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.thiserror] version = "1.0.57" [dependencies.ureq] version = "2.9.6" features = ["json"] optional = true [dependencies.url] version = "2.5.0" [dev-dependencies.anyhow] version = "1.0.80" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.tokio] version = "1.0" features = ["full"] [features] default = ["use-sync"] use-async = ["reqwest"] use-sync = ["ureq"]