-
Notifications
You must be signed in to change notification settings - Fork 601
/
Cargo.toml
135 lines (126 loc) · 4.93 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[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]
members = ["crates/*"]
[workspace.lints.rust]
future_incompatible = "warn"
nonstandard_style = "warn"
rust_2018_idioms = "warn"
rust_2018_compatibility = "warn"
rust_2021_compatibility = "warn"
unused = "warn"
[workspace.lints.rustdoc]
unescaped_backticks = "warn"
[workspace.lints.clippy]
dbg_macro = "warn"
todo = "warn"
[lints]
workspace = true
[profile.release]
opt-level = 2
[lib]
name = "crates_io"
doctest = true
[dependencies]
anyhow = "=1.0.93"
async-trait = "=0.1.83"
aws-credential-types = { version = "=1.2.1", features = ["hardcoded-credentials"] }
aws-ip-ranges = "=0.911.0"
aws-sdk-cloudfront = "=1.52.0"
aws-sdk-sqs = "=1.49.0"
axum = { version = "=0.7.7", features = ["macros", "matched-path"] }
axum-extra = { version = "=0.9.4", features = ["cookie-signed", "typed-header"] }
base64 = "=0.22.1"
bigdecimal = { version = "=0.4.6", features = ["serde"] }
bon = "=3.0.0"
cargo-manifest = "=0.16.1"
colored = "=2.1.0"
crates_io_cdn_logs = { path = "crates/crates_io_cdn_logs" }
crates_io_database = { path = "crates/crates_io_database" }
crates_io_database_dump = { path = "crates/crates_io_database_dump" }
crates_io_env_vars = { path = "crates/crates_io_env_vars" }
crates_io_github = { path = "crates/crates_io_github" }
crates_io_index = { path = "crates/crates_io_index" }
crates_io_markdown = { path = "crates/crates_io_markdown" }
crates_io_pagerduty = { path = "crates/crates_io_pagerduty" }
crates_io_tarball = { path = "crates/crates_io_tarball" }
crates_io_team_repo = { path = "crates/crates_io_team_repo" }
crates_io_worker = { path = "crates/crates_io_worker" }
csv = "=1.3.1"
chrono = { version = "=0.4.38", default-features = false, features = ["serde"] }
clap = { version = "=4.5.21", features = ["derive", "env", "unicode", "wrap_help"] }
cookie = { version = "=0.18.1", features = ["secure"] }
deadpool-diesel = { version = "=0.6.1", features = ["postgres", "tracing"] }
derive_deref = "=1.1.1"
dialoguer = "=0.11.0"
diesel = { version = "=2.2.4", features = ["postgres", "serde_json", "chrono", "numeric"] }
diesel-async = { version = "=0.5.1", features = ["async-connection-wrapper", "deadpool", "postgres"] }
diesel_full_text_search = "=2.2.0"
diesel_migrations = { version = "=2.2.0", features = ["postgres"] }
dotenvy = "=0.15.7"
flate2 = "=1.0.35"
futures-util = "=0.3.31"
hex = "=0.4.3"
http = "=1.1.0"
http-body-util = "=0.1.2"
hyper = { version = "=1.5.0", features = ["client", "http1"] }
indexmap = { version = "=2.6.0", features = ["serde"] }
indicatif = "=0.17.9"
ipnetwork = "=0.20.0"
json-subscriber = "=0.2.2"
tikv-jemallocator = { version = "=0.6.0", features = ['unprefixed_malloc_on_supported_platforms', 'profiling'] }
lettre = { version = "=0.11.10", default-features = false, features = ["file-transport", "smtp-transport", "native-tls", "hostname", "builder"] }
minijinja = "=2.5.0"
mockall = "=0.13.0"
native-tls = "=0.2.12"
oauth2 = "=4.4.2"
object_store = { version = "=0.11.1", features = ["aws"] }
p256 = "=0.13.2"
parking_lot = "=0.12.3"
paste = "=1.0.15"
postgres-native-tls = "=0.5.0"
prometheus = { version = "=0.13.4", default-features = false }
quick-xml = "=0.37.0"
rand = "=0.8.5"
reqwest = { version = "=0.12.9", features = ["gzip", "json"] }
rss = { version = "=2.0.9", default-features = false, features = ["atom"] }
secrecy = "=0.10.3"
semver = { version = "=1.0.23", features = ["serde"] }
sentry = { version = "=0.34.0", features = ["tracing", "tower", "tower-axum-matched-path", "tower-http"] }
serde = { version = "=1.0.215", features = ["derive"] }
serde_json = "=1.0.132"
sha2 = "=0.10.8"
spdx = "=0.10.6"
tar = "=0.4.43"
tempfile = "=3.14.0"
thiserror = "=2.0.3"
tokio = { version = "=1.41.1", features = ["net", "signal", "io-std", "io-util", "rt-multi-thread", "macros", "process"]}
tokio-postgres = "=0.7.12"
toml = "=0.8.19"
tower = "=0.5.1"
tower-http = { version = "=0.6.1", features = ["add-extension", "fs", "catch-panic", "timeout", "compression-full"] }
tracing = "=0.1.40"
tracing-subscriber = { version = "=0.3.18", features = ["env-filter", "json"] }
typomania = { version = "=0.1.2", default-features = false }
url = "=2.5.3"
unicode-xid = "=0.2.6"
[dev-dependencies]
bytes = "=1.8.0"
crates_io_index = { path = "crates/crates_io_index", features = ["testing"] }
crates_io_tarball = { path = "crates/crates_io_tarball", features = ["builder"] }
crates_io_team_repo = { path = "crates/crates_io_team_repo", features = ["mock"] }
crates_io_test_db = { path = "crates/crates_io_test_db" }
claims = "=0.7.1"
diesel = { version = "=2.2.4", features = ["r2d2"] }
googletest = "=0.12.0"
insta = { version = "=1.41.1", features = ["glob", "json", "redactions"] }
regex = "=1.11.1"
tokio = "=1.41.1"
zip = { version = "=2.2.0", default-features = false, features = ["deflate"] }