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