[package]
name = "dutils"
version = "0.1.9"
edition = "2021"
description = "I am speed"
license = "MIT"
[dependencies]
anyhow = "1.0.86"
http = "1.1.0"
tracing = "0.1.40"
serde_json = "1.0.113"
serde = { version = "1.0.196", features = ["derive"] }
tokio = { version = "1.43.0", features = ["full"] }
futures = "0.3.27"
pin-project = "1.1.5"
postcard = { version = "1.0.8", features = ["alloc", "embedded-io", "use-std"] }
itertools = "0.14.0"
deadpool-postgres = { version = "0.14.1", optional = true }
tokio-postgres = { version = "0.7.10", optional = true }
postgres-openssl = { version = "0.5.0", optional = true }
openssl = { version = "0.10.38", optional = true }
rocksdb = { version = "0.23.0", features = [ "multi-threaded-cf", ], optional = true }
bellscoin = {version = "0.30.7", optional = true}
bytemuck = {version = "1.22.0", optional = true}
[features]
default = []
full = ["rocks", "bellscoin", "bytemuck", "postgres"]
rocks = ["dep:rocksdb"]
bellscoin = ["dep:bellscoin"]
bytemuck = ["dep:bytemuck"]
postgres = [
"deadpool-postgres",
"tokio-postgres",
"postgres-openssl",
"openssl",
]