forked from rust-lang/docs.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
153 lines (136 loc) · 4.7 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[package]
name = "docs-rs"
version = "0.6.0"
authors = ["Onur Aslan <onuraslan@gmail.com>", "The Rust Project Developers"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/rust-lang/docs.rs"
build = "build.rs"
edition = "2021"
[workspace]
exclude = [
"ignored",
"tests",
".workspace",
".rustwide-docker",
]
[features]
consistency_check = ["crates-index", "itertools"]
[dependencies]
sentry = "0.32.1"
sentry-panic = "0.32.1"
sentry-tracing = "0.32.1"
sentry-tower = { version = "0.32.1", features = ["http"] }
sentry-anyhow = { version = "0.32.1", features = ["backtrace"] }
log = "0.4"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["ansi", "fmt", "env-filter", "tracing-log"] }
tracing-log = "0.2.0"
regex = "1"
clap = { version = "4.0.22", features = [ "derive" ] }
crates-index = { version = "2.2.0", default-features = false, features = ["git", "git-performance", "parallel"], optional = true }
rayon = "1.6.1"
num_cpus = "1.15.0"
crates-index-diff = { version = "23.0.0", features = [ "max-performance" ]}
reqwest = { version = "0.11", features = ["json", "gzip"] }
semver = { version = "1.0.4", features = ["serde"] }
slug = "0.1.1"
r2d2 = "0.8"
r2d2_postgres = "0.18"
sqlx = { version = "0.7", features = [ "runtime-tokio", "postgres", "chrono" ] }
url = { version = "2.1.1", features = ["serde"] }
docsrs-metadata = { path = "crates/metadata" }
anyhow = { version = "1.0.42", features = ["backtrace"]}
backtrace = "0.3.61"
failure = "0.1.8"
thiserror = "1.0.26"
comrak = { version = "0.21.0", default-features = false }
syntect = { version = "5.0.0", default-features = false, features = ["parsing", "html", "dump-load", "regex-onig"] }
toml = "0.8.0"
prometheus = { version = "0.13.0", default-features = false }
rustwide = { version = "0.16.0", features = ["unstable-toolchain-ci", "unstable"] }
mime_guess = "2"
zstd = "0.13.0"
hostname = "0.3.1"
path-slash = "0.2.0"
once_cell = { version = "1.4.0", features = ["parking_lot"] }
base64 = "0.21"
strum = { version = "0.26.1", features = ["derive"] }
lol_html = "1.0.0"
font-awesome-as-a-crate = { path = "crates/font-awesome-as-a-crate" }
dashmap = "5.1.0"
string_cache = "0.8.0"
postgres-types = { version = "0.2", features = ["derive"] }
zip = {version = "0.6.2", default-features = false, features = ["bzip2"]}
bzip2 = "0.4.4"
getrandom = "0.2.1"
itertools = { version = "0.12.0", optional = true}
rusqlite = { version = "0.30.0", features = ["bundled"] }
hex = "0.4.3"
# Async
tokio = { version = "1.0", features = ["rt-multi-thread", "signal", "macros"] }
futures-util = "0.3.5"
aws-config = "1.0.0"
aws-sdk-s3 = "1.3.0"
aws-sdk-cloudfront = "1.3.0"
aws-smithy-types-convert = { version = "0.60.0", features = ["convert-chrono"] }
http = "1.0.0"
uuid = { version = "1.1.2", features = ["v4"]}
# Data serialization and deserialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# axum dependencies
axum = "0.7.3"
axum-extra = { version = "0.9.1", features = ["typed-header"] }
hyper = { version = "1.1.0", default-features = false }
tower = "0.4.11"
tower-service = "0.3.2"
tower-http = { version = "0.5.0", features = ["fs", "trace", "timeout", "catch-panic"] }
mime = "0.3.16"
percent-encoding = "2.2.0"
tempfile = "3.1.0"
fn-error-context = "0.2.0"
# Templating
tera = { version = "1.5.0", features = ["builtins"] }
walkdir = "2"
# Date and Time utilities
chrono = { version = "0.4.11", default-features = false, features = ["clock", "serde"] }
# Transitive dependencies we don't use directly but need to have specific versions of
thread_local = "1.1.3"
humantime = "2.1.0"
[dependencies.postgres]
version = "0.19"
features = ["with-chrono-0_4", "with-serde_json-1"]
[target.'cfg(target_os = "linux")'.dependencies]
# Process information
procfs = "0.15.1"
[dev-dependencies]
criterion = "0.5.1"
kuchikiki = "0.8"
http02 = { version = "0.2.11", package = "http"}
rand = "0.8"
mockito = "1.0.2"
test-case = "3.0.0"
reqwest = { version = "0.11", features = ["blocking", "json"] }
aws-smithy-types = "1.0.1"
aws-smithy-runtime = {version = "1.0.1", features = ["client", "test-util"]}
aws-smithy-http = "0.60.0"
indoc = "2.0.0"
[profile.dev.package.sqlx-macros]
opt-level = 2
[build-dependencies]
time = "0.3"
gix = { version = "0.58.0", default-features = false }
string_cache_codegen = "0.5.1"
walkdir = "2"
anyhow = { version = "1.0.42", features = ["backtrace"] }
grass = { version = "0.13.1", default-features = false }
once_cell = { version = "1.4.0", features = ["parking_lot"] }
syntect = { version = "5.0.0", default-features = false, features = ["parsing", "dump-create", "yaml-load", "regex-onig"] }
[[bench]]
name = "compression"
harness = false
[[bin]]
name = "cratesfyi"
test = false
doc = false