forked from rust-lang/crates.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
99 lines (87 loc) · 2.82 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
[package]
name = "cargo-registry"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
version = "0.2.2"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/crates.io"
description = "Backend of crates.io"
edition = "2018"
[workspace]
[profile.release]
opt-level = 2
[lib]
name = "cargo_registry"
doctest = false
[[test]]
name = "all"
path = "src/tests/all.rs"
[package.metadata.docs.rs]
rustdoc-args = [
"--no-defaults",
"--passes", "collapse-docs",
"--passes", "unindent-comments"
]
[dependencies]
cargo-registry-s3 = { path = "src/s3", version = "0.2.0" }
rand = "0.7"
git2 = "0.13.0"
flate2 = "1.0"
semver = { version = "0.10", features = ["diesel", "serde"] }
url = "2.1"
tar = "0.4.16"
base64 = "0.12"
sha2 = "0.9"
oauth2 = { version = "3.0.0", default-features = false, features = ["reqwest-010"] }
log = "0.4"
env_logger = "0.7"
hex = "0.4"
htmlescape = "0.3.1"
license-exprs = "^1.4"
dotenv = "0.15"
toml = "0.5"
diesel = { version = "1.4.0", features = ["postgres", "serde_json", "chrono", "r2d2"] }
diesel_full_text_search = "1.0.0"
swirl = { git = "https://github.com/sgrif/swirl.git", rev = "e87cf37" }
serde_json = "1.0.0"
serde = { version = "1.0.0", features = ["derive"] }
chrono = { version = "0.4.0", features = ["serde"] }
comrak = { version = "0.8", default-features = false }
ammonia = "3.0.0"
docopt = "1.0"
scheduled-thread-pool = "0.2.0"
derive_deref = "1.1.1"
reqwest = { version = "0.10", features = ["blocking", "gzip", "json"] }
tempfile = "3"
parking_lot = "0.11"
jemallocator = { version = "0.3", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] }
lettre = { version = "0.10.0-alpha.1", default-features = false, features = ["file-transport", "smtp-transport", "native-tls", "hostname", "builder"] }
failure = "0.1.1"
conduit = "0.9.0-alpha.3"
conduit-conditional-get = "0.9.0-alpha.3"
conduit-cookie = "0.9.0-alpha.4"
cookie = { version = "0.14", features = ["secure"] }
conduit-middleware = "0.9.0-alpha.3"
conduit-router = "0.9.0-alpha.3"
conduit-static = "0.9.0-alpha.3"
conduit-git-http-backend = "0.9.0-alpha.2"
civet = "0.12.0-alpha.4"
conduit-hyper = "0.3.0-alpha.5"
http = "0.2"
futures-util = "0.3"
futures-channel = { version = "0.3.1", default-features = false }
tokio = { version = "0.2", default-features = false, features = ["net", "signal", "io-std"]}
hyper = "0.13"
ctrlc = { version = "3.0", features = ["termination"] }
indexmap = "1.0.2"
handlebars = "3.0.1"
[dev-dependencies]
conduit-test = "0.9.0-alpha.3"
hyper-tls = "0.4"
lazy_static = "1.0"
diesel_migrations = { version = "1.3.0", features = ["postgres"] }
tower-service = "0.3.0"
tokio = { version = "0.2", default-features = false, features = ["stream"]}
[build-dependencies]
dotenv = "0.15"
diesel = { version = "1.3.0", features = ["postgres"] }
diesel_migrations = { version = "1.3.0", features = ["postgres"] }