forked from rust-lang/crates.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
103 lines (93 loc) · 3.32 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 = "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 = "2021"
default-run = "server"
[workspace]
[profile.release]
opt-level = 2
[lib]
name = "cargo_registry"
doctest = true
[[test]]
name = "all"
path = "src/tests/all.rs"
[package.metadata.docs.rs]
rustdoc-args = [
"--no-defaults",
"--passes", "collapse-docs",
"--passes", "unindent-comments"
]
[dependencies]
anyhow = "=1.0.56"
base64 = "=0.13.0"
cargo-registry-index = { path = "cargo-registry-index" }
cargo-registry-markdown = { path = "cargo-registry-markdown" }
cargo-registry-s3 = { path = "cargo-registry-s3" }
chrono = { version = "=0.4.19", features = ["serde"] }
clap = { version = "=3.1.6", features = ["derive", "unicode"] }
conduit = "=0.10.0"
conduit-conditional-get = "=0.10.0"
conduit-cookie = "=0.10.0"
conduit-git-http-backend = "=0.10.0"
conduit-hyper = "=0.4.1"
conduit-middleware = "=0.10.0"
conduit-router = "=0.10.0"
conduit-static = "=0.10.0"
cookie = { version = "=0.16.0", features = ["secure"] }
dashmap = { version = "=5.2.0", features = ["raw-api"] }
derive_deref = "=1.1.1"
dialoguer = "=0.10.0"
diesel = { version = "=1.4.8", features = ["postgres", "serde_json", "chrono", "r2d2"] }
diesel_full_text_search = "=1.0.1"
diesel_migrations = { version = "=1.4.0", features = ["postgres"] }
dotenv = "=0.15.0"
flate2 = "=1.0.22"
futures-channel = { version = "=0.3.21", default-features = false }
futures-util = "=0.3.21"
hex = "=0.4.3"
http = "=0.2.6"
hyper = { version = "=0.14.17", features = ["client", "http1"] }
indexmap = { version = "=1.8.0", features = ["serde-1"] }
tikv-jemallocator = { version = "=0.4.3", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] }
lettre = { version = "=0.10.0-rc.4", default-features = false, features = ["file-transport", "smtp-transport", "native-tls", "hostname", "builder"] }
minijinja = "=0.15.0"
moka = "=0.7.2"
oauth2 = { version = "=4.1.0", default-features = false, features = ["reqwest"] }
parking_lot = "=0.12.0"
prometheus = { version = "=0.13.0", default-features = false }
rand = "=0.8.5"
reqwest = { version = "=0.11.10", features = ["blocking", "gzip", "json"] }
scheduled-thread-pool = "=0.2.5"
semver = { version = "=1.0.6", features = ["serde"] }
sentry = { version = "=0.24.3", features = ["tracing"] }
sentry-conduit = { version = "=0.5.0", default-features = false }
serde = { version = "=1.0.136", features = ["derive"] }
serde_json = "=1.0.79"
sha2 = "=0.10.2"
spdx = "=0.8.1"
swirl = { git = "https://github.com/sgrif/swirl.git", rev = "e87cf37" }
tar = "=0.4.38"
tempfile = "=3.3.0"
thiserror = "=1.0.30"
tokio = { version = "=1.17.0", features = ["net", "signal", "io-std", "io-util", "rt-multi-thread", "macros"]}
toml = "=0.5.8"
tracing = "=0.1.32"
tracing-subscriber = { version = "=0.3.9", features = ["env-filter"] }
url = "=2.2.2"
[dev-dependencies]
cargo-registry-index = { path = "cargo-registry-index", features = ["testing"] }
claim = "=0.5.0"
conduit-test = "=0.10.0"
hyper-tls = "=0.5.0"
lazy_static = "=1.4.0"
tokio = "=1.17.0"
tower-service = "=0.3.1"
[build-dependencies]
diesel = { version = "=1.4.8", features = ["postgres"] }
diesel_migrations = { version = "=1.4.0", features = ["postgres"] }
dotenv = "=0.15.0"