forked from rust-lang/crates.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
101 lines (91 loc) · 2.9 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
[package]
name = "cargo-registry"
authors = ["Alex Crichton <[email protected]>"]
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"
default-run = "server"
[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]
ammonia = "3.0.0"
anyhow = "1.0"
base64 = "0.13"
cargo-registry-s3 = { path = "src/s3", version = "0.2.0" }
chrono = { version = "0.4.0", features = ["serde"] }
civet = "0.12.0-alpha.5"
clap = "=3.0.0-beta.2"
comrak = { version = "0.9", default-features = false }
conduit = "0.9.0-alpha.5"
conduit-conditional-get = "0.9.0-alpha.3"
conduit-cookie = "0.9.0-alpha.4"
conduit-git-http-backend = "0.9.0-alpha.2"
conduit-hyper = "0.3.0-alpha.7"
conduit-middleware = "0.9.0-alpha.4"
conduit-router = "0.9.0-alpha.3"
conduit-static = "0.9.0-alpha.3"
cookie = { version = "0.14", features = ["secure"] }
ctrlc = { version = "3.0", features = ["termination"] }
derive_deref = "1.1.1"
dialoguer = "0.7.1"
diesel = { version = "1.4.0", features = ["postgres", "serde_json", "chrono", "r2d2"] }
diesel_full_text_search = "1.0.0"
dotenv = "0.15"
flate2 = "1.0"
futures-channel = { version = "0.3.1", default-features = false }
futures-util = "0.3"
git2 = "0.13.0"
handlebars = "3.0.1"
hex = "0.4"
htmlescape = "0.3.1"
http = "0.2"
hyper = { version = "0.14", features = ["client", "http1"] }
indexmap = "1.0.2"
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"] }
license-exprs = "^1.4"
oauth2 = { version = "4.0.0-alpha.3", default-features = false, features = ["reqwest"] }
parking_lot = "0.11"
rand = "0.7"
reqwest = { version = "0.11", features = ["blocking", "gzip", "json"] }
scheduled-thread-pool = "0.2.0"
semver = { version = "0.10", features = ["diesel", "serde"] }
sentry = "0.22"
serde = { version = "1.0.0", features = ["derive"] }
serde_json = "1.0.0"
sha2 = "0.9"
swirl = { git = "https://github.com/sgrif/swirl.git", rev = "e87cf37" }
tar = "0.4.16"
tempfile = "3"
tokio = { version = "1", features = ["net", "signal", "io-std", "io-util", "rt-multi-thread"]}
toml = "0.5"
tracing = "0.1"
tracing-subscriber = "0.2"
url = "2.1"
[dev-dependencies]
claim = "0.4.0"
conduit-test = "0.9.0-alpha.4"
diesel_migrations = { version = "1.3.0", features = ["postgres"] }
hyper-tls = "0.5"
lazy_static = "1.0"
tokio = "1"
tower-service = "0.3.0"
[build-dependencies]
diesel = { version = "1.3.0", features = ["postgres"] }
diesel_migrations = { version = "1.3.0", features = ["postgres"] }
dotenv = "0.15"