-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathCargo.toml
57 lines (50 loc) · 1.73 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
[package]
name = "ktra"
version = "0.7.0"
authors = ["moriturus <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Your Little Cargo Registry"
repository = "https://github.com/moriturus/ktra"
keywords = ["ktra", "registry", "cargo"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
documentation = "https://book.ktra.dev"
[features]
default = ["secure-auth", "db-sled", "crates-io-mirroring"]
secure-auth = ["rand", "rust-argon2"]
crates-io-mirroring = ["reqwest", "tokio-util"]
mirroring-dummy = []
openid = ["openidconnect", "reqwest"]
db-sled = ["sled"]
db-redis = ["redis"]
db-mongo = ["mongodb", "bson"]
[dependencies]
tokio = { version = "1.1", features = ["macros", "rt-multi-thread", "fs", "io-util"] }
warp = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1"
tracing-subscriber = "0.2"
regex = { version = "1.9", features = ["unicode-case"] }
tracing-futures = "0.2"
futures = "0.3"
semver = { version = "0.11", features = ["serde"] }
url = { version = "2.2", features = ["serde"] }
anyhow = "1.0"
thiserror = "1.0"
git2 = "0.13"
bytes = "1.0"
sha2 = "0.9"
toml = "0.5"
clap = "2.33"
async-trait = "0.1"
reqwest = { version = "0.11", features = ["gzip", "brotli", "json"], optional = true }
tokio-util = { version = "0.6", features = ["io"], optional = true }
rand = { version = "0.8", optional = true }
rust-argon2 = { version = "0.8", optional = true }
sled = { version = "0.34", optional = true }
redis = { version = "0.19", features = ["tokio-comp"], optional = true }
mongodb = { version = "1.1", optional = true }
bson = { version = "1.1", features = ["u2i"], optional = true }
openidconnect = { version = "2.1.1", optional = true }