forked from rust-lang/crates.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
109 lines (100 loc) · 3.81 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
104
105
106
107
108
109
[package]
name = "crates_io"
authors = ["Alex Crichton <[email protected]>"]
version = "0.0.0"
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 = "crates_io"
doctest = true
[[test]]
name = "all"
path = "src/tests/all.rs"
[features]
default = ["slow-tests"]
# The `slow-tests` enables tests that take a long time to finish. It is enabled
# by default but the test suite can be run via `cargo test --no-default-features`
# to disable these tests.
slow-tests = []
[dependencies]
anyhow = "=1.0.72"
async-trait = "=0.1.72"
aws-sigv4 = "=0.55.3"
axum = { version = "=0.6.19", features = ["headers", "macros", "matched-path"] }
axum-extra = { version = "=0.7.5", features = ["cookie-signed"] }
base64 = "=0.21.2"
crates_io_index = { path = "crates_io_index" }
crates_io_markdown = { path = "crates_io_markdown" }
crates_io_tarball = { path = "crates_io_tarball" }
chrono = { version = "=0.4.26", default-features = false, features = ["serde"] }
clap = { version = "=4.3.19", features = ["derive", "env", "unicode", "wrap_help"] }
cookie = { version = "=0.17.0", features = ["secure"] }
crossbeam-channel = "=0.5.8"
dashmap = { version = "=5.5.0", features = ["raw-api"] }
derive_deref = "=1.1.1"
dialoguer = "=0.10.4"
diesel = { version = "=2.1.0", features = ["postgres", "serde_json", "chrono", "r2d2"] }
diesel_full_text_search = "=2.1.0"
diesel_migrations = { version = "=2.1.0", features = ["postgres"] }
dotenvy = "=0.15.7"
flate2 = "=1.0.26"
futures-channel = { version = "=0.3.28", default-features = false }
futures-util = "=0.3.28"
hex = "=0.4.3"
http = "=0.2.9"
http-body = "=0.4.5"
hyper = { version = "=0.14.27", features = ["backports", "client", "deprecated", "http1"] }
indexmap = { version = "=2.0.0", features = ["serde"] }
indicatif = "=0.17.5"
ipnetwork = "=0.20.0"
tikv-jemallocator = { version = "=0.5.0", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] }
lettre = { version = "=0.10.4", default-features = false, features = ["file-transport", "smtp-transport", "native-tls", "hostname", "builder"] }
minijinja = "=1.0.5"
moka = { version = "=0.11.2", features = ["future"] }
oauth2 = { version = "=4.4.1", default-features = false, features = ["reqwest"] }
object_store = { version = "=0.6.1", features = ["aws"] }
once_cell = "=1.18.0"
parking_lot = "=0.12.1"
paste = "=1.0.14"
prometheus = { version = "=0.13.3", default-features = false }
rand = "=0.8.5"
reqwest = { version = "=0.11.18", features = ["blocking", "gzip", "json"] }
retry = "=2.0.0"
ring = "=0.16.20"
scheduled-thread-pool = "=0.2.7"
secrecy = "=0.8.0"
semver = { version = "=1.0.18", features = ["serde"] }
sentry = { version = "=0.31.5", features = ["tracing", "tower", "tower-axum-matched-path", "tower-http"] }
serde = { version = "=1.0.175", features = ["derive"] }
serde_json = "=1.0.103"
sha2 = "=0.10.7"
spdx = "=0.10.2"
tar = "=0.4.39"
tempfile = "=3.7.0"
thiserror = "=1.0.44"
threadpool = "=1.8.1"
tokio = { version = "=1.29.1", features = ["net", "signal", "io-std", "io-util", "rt-multi-thread", "macros"]}
toml = "=0.7.6"
tower = "=0.4.13"
tower-http = { version = "=0.4.3", features = ["fs", "catch-panic"] }
tracing = "=0.1.37"
tracing-subscriber = { version = "=0.3.17", features = ["env-filter"] }
url = "=2.4.0"
[dev-dependencies]
crates_io_index = { path = "crates_io_index", features = ["testing"] }
crates_io_tarball = { path = "crates_io_tarball", features = ["builder"] }
claims = "=0.7.1"
hyper-tls = "=0.5.0"
insta = { version = "=1.31.0", features = ["redactions", "yaml"] }
tokio = "=1.29.1"
tower-service = "=0.3.2"
[build-dependencies]
diesel = { version = "=2.1.0", features = ["postgres"] }
diesel_migrations = { version = "=2.1.0", features = ["postgres"] }
dotenvy = "=0.15.7"