/
Cargo.toml
39 lines (32 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "raze"
version = "0.4.1"
authors = ["Kongou <kongou@shipfu.moe>"]
description = "Rust-friendly API for for Backblaze's B2 backend - Includes raw calls and helpers"
keywords = ["b2", "api", "backup", "backblaze", "async"]
categories = ["api-bindings"]
exclude = ["credentials"]
readme = "README.md"
edition = "2018"
repository = "https://github.com/KongouDesu/raze"
license = "MIT"
[dependencies]
base64 = "0.13"
url = "2.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.11" }
sha1 = { version = "0.6", features = ["std"], optional = true }
tokio = { version = "1", features = ["time"], optional = true }
tokio-util = { version = "0.6", optional = true }
pin-project = { version = "1.0", optional = true }
futures = { version = "0.3", optional = true }
bytes = { version = "1.0", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["fs", "macros", "parking_lot", "rt-multi-thread"] }
futures-util = { version = "0.3", features = ["io"] }
reqwest = { version = "0.11", features = ["stream"] }
[features]
utils = ["futures"]
util_readers = ["sha1", "tokio", "tokio-util", "pin-project", "bytes"]
default = ["utils", "util_readers"]