[package] name = "bincache" version = "0.5.1" edition = "2021" description = "ZitaneLabs binary cache." authors.workspace = true license.workspace = true repository.workspace = true rust-version.workspace = true readme.workspace = true [features] default = ["implicit-blocking"] implicit-blocking = ["dep:futures-util", "async-compression/futures-io"] blocking = ["dep:futures-util", "async-compression/futures-io"] rt_tokio_1 = ["dep:tokio", "async-compression/tokio"] rt_async-std_1 = ["dep:async-std", "async-compression/futures-io"] comp_zstd = ["async-compression/zstd"] comp_brotli = ["async-compression/brotli"] comp_gzip = ["async-compression/gzip"] [dependencies] paste = "1" thiserror = "1" async-trait = "0.1" async-compression = "0.4" [dependencies.tokio] version = "1" features = ["rt", "fs", "io-util"] optional = true [dependencies.async-std] version = "1" optional = true [dependencies.futures-util] version = "0.3" features = ["io"] optional = true [dev-dependencies] uuid = { version = "1.8", features = ["v4"] } tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] } async-std = { version = "1", features = ["attributes"] }