-
Notifications
You must be signed in to change notification settings - Fork 38
/
Cargo.toml
103 lines (93 loc) · 2.47 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[package]
name = "bindle"
version = "0.6.0"
authors = [
"Matt Butcher <[email protected]>",
"Taylor Thomas <[email protected]>"
]
edition = "2018"
license-file = "LICENSE.txt"
description = "An aggregate object storage system for applications"
repository = "https://github.com/deislabs/bindle"
readme = "docs/crate-readme.md"
keywords = [
"storage",
"package",
]
exclude = [
"docs/*",
".github/*",
".gitignore",
"bin/",
"test/"
]
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["server", "client", "caching", "test-tools"]
server = ["warp", "openid"]
client = ["mime_guess", "dirs", "chrono"]
caching = []
test-tools = []
cli = ["clap", "tracing-subscriber"]
[package.metadata.docs.rs]
all-features = true
[dependencies]
anyhow = "1.0"
toml = "0.5"
serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0"
tempfile = "3.2"
sha2 = "0.9"
thiserror = "1.0"
semver = { version = "0.11", features = ["serde"] }
tokio = { version = "1.0", features = ["full"] }
tokio-util = { version = "0.6", features = ["io"] }
tokio-stream = { version = "0.1", features = ["fs"] }
warp = { version = "0.3", features = ["tls"], optional = true }
bytes = "1.0"
async-trait = "0.1"
futures = "0.3"
clap = { version = "3.0.0-beta.4", optional = true }
reqwest = { version = "0.11", features = ["stream"] }
hyper = "0.14"
url = "2.2"
tracing-subscriber = { version = "0.2", optional = true }
dirs = { version = "3.0", optional = true }
mime_guess = { version = "2.0", optional = true }
lru = "0.6"
# We need the older version of rand for dalek
rand = "0.7"
ed25519-dalek = "1.0"
base64 = "0.13"
tracing = { version = "0.1", features = ["log"] }
tracing-futures = "0.2"
mime = "0.3"
sled = "0.34"
serde_cbor = "0.11"
oauth2 = {version = "4.1", features = ["reqwest"]}
jsonwebtoken = "7.2"
openid = {version = "0.9", optional = true}
bcrypt = "0.10"
chrono = { version = "0.4", features = ["serde"], optional = true }
either = "1.6"
# NOTE: This is a workaround due to a dependency issue in oauth2: https://github.com/tkaitchuck/ahash/issues/95#issuecomment-903560879
indexmap = "~1.6.2"
[dev-dependencies]
rstest = "0.11"
[[bin]]
name = "bindle-server"
path = "bin/server.rs"
required-features = ["cli"]
[[bin]]
name = "bindle"
path = "bin/client/main.rs"
required-features = ["cli"]
[[bin]]
name = "cargo2bindle"
path = "bin/cargo2bindle.rs"
required-features = ["cli"]
[[bin]]
name = "as2bindle"
path = "bin/as2bindle.rs"
required-features = ["cli"]