# 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 = "ohlcv" version = "0.0.3" authors = ["TypedDuck "] build = false include = [ "LICENSE-*", "README.md", "CHANGELOG.md", "Cargo.toml", "/src", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Data collector library for fetching, analyzing, predicting and charting time series data (OHLC) of cryptocurrencies from various exchanges" homepage = "https://github.com/typedduck/ohlcv" readme = "README.md" keywords = [ "cryptocurrency", "exchange", "finance", "ohlcv", "time-series", ] categories = [ "cryptography::cryptocurrencies", "finance", ] license = "MIT OR Apache-2.0" repository = "https://github.com/typedduck/ohlcv" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "ohlcv" path = "src/lib.rs" [dependencies.rust_decimal] version = "1.35.0" [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.slugify] version = "0.1.0" [dependencies.sqlx] version = "0.8.0" features = [ "macros", "runtime-tokio", "rust_decimal", "time", ] optional = true default-features = false [dependencies.time] version = "0.3.36" features = ["serde"] [dependencies.tokio] version = "1.39.2" features = [ "macros", "rt-multi-thread", ] [dependencies.tracing] version = "0.1.40" features = [ "release_max_level_info", "max_level_trace", ] [dev-dependencies.once_cell] version = "1.19.0" [features] default = [] exchange = [] mysql = [ "dep:sqlx", "sqlx/mysql", ] postgres = [ "dep:sqlx", "sqlx/postgres", ] sqlite = [ "dep:sqlx", "sqlx/sqlite", "sqlx/migrate", ] [lints.clippy] cargo = "warn" complexity = "warn" correctness = "warn" nursery = "warn" pedantic = "warn" perf = "warn" style = "warn" suspicious = "warn"