forked from rust-lang/docs.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
131 lines (115 loc) · 3.39 KB
/
Copy pathCargo.toml
File metadata and controls
131 lines (115 loc) · 3.39 KB
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
[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 = "2018"
[workspace]
exclude = [
"ignored",
".workspace",
".rustwide-docker",
]
[features]
consistency_check = ["crates-index", "rayon"]
[dependencies]
sentry = "0.27.0"
sentry-log = "0.27.0"
sentry-panic = "0.27.0"
sentry-anyhow = { version = "0.27.0", features = ["backtrace"] }
log = "0.4"
regex = "1"
structopt = "0.3"
crates-index = { version = "0.18.5", optional = true }
rayon = { version = "1", optional = true }
crates-index-diff = "10.0.0"
reqwest = { version = "0.11", features = ["blocking", "json"] } # TODO: Remove blocking when async is ready
semver = { version = "1.0.4", features = ["serde"] }
slug = "0.1.1"
env_logger = "0.9.0"
r2d2 = "0.8"
r2d2_postgres = "0.18"
# iron needs url@1, but it reexports it as iron::url, so we can start using
# url@2 for other usecases
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.13.1", default-features = false }
toml = "0.5"
schemamama = "0.3"
schemamama_postgres = "0.3"
systemstat = "0.1.4"
prometheus = { version = "0.13.0", default-features = false }
rustwide = "0.15.0"
mime_guess = "2"
dotenv = "0.15"
zstd = "0.11.0"
git2 = { version = "0.14.4", default-features = false }
path-slash = "0.1.3"
once_cell = { version = "1.4.0", features = ["parking_lot"] }
base64 = "0.13"
strum = { version = "0.24.0", features = ["derive"] }
lol_html = "0.3"
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.2"
serde_cbor = "0.11.1"
getrandom = "0.2.1"
# Async
tokio = { version = "1.0", features = ["rt-multi-thread"] }
futures-util = "0.3.5"
aws-config = "0.15.0"
aws-sdk-s3 = "0.15.0"
aws-smithy-types-convert = { version = "0.45.0", features = ["convert-chrono"] }
http = "0.2.6"
# Data serialization and deserialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
memmap2 = "0.5.0"
# iron dependencies
iron = "0.6"
router = "0.6"
# NOTE: if you change this, also double-check that the comment in `queue_builder::remove_tempdirs` is still accurate.
tempfile = "3.1.0"
# Templating
tera = { version = "1.5.0", features = ["builtins"] }
walkdir = "2"
# Date and Time utilities
chrono = { version = "0.4.11", features = ["serde"] }
time = "0.1" # TODO: Remove once `iron` is removed
# Transitive dependencies we don't use directly but need to have specific versions of
thread_local = "1.1.3"
[dependencies.postgres]
version = "0.19"
features = ["with-chrono-0_4", "with-serde_json-1"]
[target.'cfg(target_os = "linux")'.dependencies]
# Process information
procfs = "0.13.0"
[dev-dependencies]
criterion = "0.3"
kuchiki = "0.8"
rand = "0.8"
mockito = "0.31.0"
test-case = "2.0.0"
[build-dependencies]
time = "0.3"
git2 = { version = "0.14", default-features = false }
sass-rs = "0.2.2"
string_cache_codegen = "0.5.1"
walkdir = "2"
[[bench]]
name = "compression"
harness = false
[[bin]]
name = "cratesfyi"
test = false
doc = false