@@ -5,7 +5,6 @@ authors = ["Onur Aslan <onuraslan@gmail.com>", "The Rust Project Developers"]
55readme = " README.md"
66license = " MIT"
77repository = " https://github.com/rust-lang/docs.rs"
8- build = " build.rs"
98edition = " 2024"
109
1110[workspace ]
@@ -27,7 +26,7 @@ askama = "0.15.1"
2726async-stream = " 0.3.5"
2827axum-extra = { version = " 0.12.0" , features = [" typed-header" , " routing" , " middleware" ] }
2928base64 = " 0.22"
30- bon = " 3.8.1"
29+ bon = { version = " 3.8.1" , features = [ " experimental-overwritable " ] }
3130chrono = { version = " 0.4.11" , default-features = false , features = [" clock" , " serde" ] }
3231clap = { version = " 4.0.22" , features = [ " derive" ] }
3332derive_more = { version = " 2.0.0" , features = [" display" , " deref" , " from" , " into" , " from_str" ] }
@@ -66,80 +65,27 @@ walkdir = "2"
6665docs_rs_build_limits = { path = " crates/lib/docs_rs_build_limits" }
6766docs_rs_build_queue = { path = " crates/lib/docs_rs_build_queue" }
6867docs_rs_builder = { path = " crates/bin/docs_rs_builder" }
69- docs_rs_cargo_metadata = { path = " crates/lib/docs_rs_cargo_metadata" }
7068docs_rs_context = { path = " crates/lib/docs_rs_context" }
7169docs_rs_database = { path = " crates/lib/docs_rs_database" }
72- docs_rs_env_vars = { path = " crates/lib/docs_rs_env_vars" }
7370docs_rs_fastly = { path = " crates/lib/docs_rs_fastly" }
74- docs_rs_headers = { path = " crates/lib/docs_rs_headers" }
7571docs_rs_logging = { path = " crates/lib/docs_rs_logging" }
76- docs_rs_mimes = { path = " crates/lib/docs_rs_mimes" }
7772docs_rs_opentelemetry = { path = " crates/lib/docs_rs_opentelemetry" }
7873docs_rs_registry_api = { path = " crates/lib/docs_rs_registry_api" }
7974docs_rs_repository_stats = { path = " crates/lib/docs_rs_repository_stats" }
8075docs_rs_storage = { path = " crates/lib/docs_rs_storage" }
8176docs_rs_types = { path = " crates/lib/docs_rs_types" }
82- docs_rs_uri = { path = " crates/lib/docs_rs_uri" }
8377docs_rs_utils = { path = " crates/lib/docs_rs_utils" }
8478docs_rs_watcher = { path = " crates/bin/docs_rs_watcher" }
79+ docs_rs_web = { path = " crates/bin/docs_rs_web" }
8580
86- sentry = { workspace = true }
81+ anyhow = { workspace = true }
8782tracing = { workspace = true }
88- regex = { workspace = true }
83+ chrono = { workspace = true }
8984clap = { workspace = true }
90- rayon = { workspace = true }
91- num_cpus = " 1.15.0"
92- reqwest = { workspace = true }
93- slug = { workspace = true }
94- sqlx = { workspace = true }
95- url = { workspace = true }
96- anyhow = { workspace = true }
97- thiserror = { workspace = true }
98- comrak = { version = " 0.49.0" , default-features = false }
99- syntect = { version = " 5.0.0" , default-features = false , features = [" parsing" , " html" , " dump-load" , " regex-onig" ] }
100- toml = { workspace = true }
101- opentelemetry = { workspace = true }
102- opentelemetry_sdk = { workspace = true }
103- base64 = { workspace = true }
104- lol_html = " 2.0.0"
105- font-awesome-as-a-crate = { path = " crates/lib/font-awesome-as-a-crate" }
106- getrandom = " 0.3.1"
107- itertools = { workspace = true }
108- derive_more = { workspace = true }
109- derive_builder = " 0.20.2"
110-
111- # Async
11285tokio = { workspace = true }
113- tokio-util = { version = " 0.7.15" , default-features = false , features = [" io" ] }
114- tracing-futures = { version = " 0.2.5" , features = [" std-future" , " futures-03" ] }
86+ derive_builder = " 0.20.2"
11587futures-util = { workspace = true }
116- async-stream = { workspace = true }
117- http = { workspace = true }
118-
119- # Data serialization and deserialization
120- serde = { workspace = true }
121- serde_json = { workspace = true }
122- postcard = { workspace = true }
123-
124- # axum dependencies
125- axum = { version = " 0.8.1" , features = [" macros" ] }
126- axum-extra = { workspace = true }
127- tower = " 0.5.1"
128- tower-http = { version = " 0.6.0" , features = [" fs" , " trace" , " timeout" , " catch-panic" ] }
129- mime = { workspace = true }
130-
131- fn-error-context = " 0.2.0"
132-
133- # Templating
134- askama = { workspace = true }
135- walkdir = { workspace = true }
136- phf = " 0.13.1"
137-
138- # Date and Time utilities
139- chrono = { workspace = true }
140-
141- # Transitive dependencies we don't use directly but need to have specific versions of
142- constant_time_eq = " 0.4.2"
88+ sqlx = { workspace = true }
14389
14490[dev-dependencies ]
14591docs_rs_build_queue = { path = " crates/lib/docs_rs_build_queue" , features = [" testing" ] }
@@ -153,31 +99,13 @@ docs_rs_storage = { path = "crates/lib/docs_rs_storage", features = ["testing"]
15399docs_rs_test_fakes = { path = " crates/lib/docs_rs_test_fakes" }
154100docs_rs_types = { path = " crates/lib/docs_rs_types" , features = [" testing" ] }
155101
156- kuchikiki = " 0.8"
157- http-body-util = " 0.1.0"
158102rand = { workspace = true }
159103mockito = { workspace = true }
160104test-case = { workspace = true }
161105tower = { version = " 0.5.1" , features = [" util" ] }
162106opentelemetry_sdk = { version = " 0.31.0" , features = [" rt-tokio" , " testing" ] }
163- indoc = " 2.0.0"
164107pretty_assertions = { workspace = true }
165108
166- [build-dependencies ]
167- time = " 0.3"
168- md5 = " 0.8.0"
169- phf_codegen = " 0.13"
170- walkdir = " 2"
171- anyhow = { version = " 1.0.42" , features = [" backtrace" ] }
172- grass = { version = " 0.13.1" , default-features = false }
173- syntect = { version = " 5.0.0" , default-features = false , features = [" parsing" , " dump-create" , " yaml-load" , " regex-onig" ] }
174-
175- [package .metadata .cargo-machete ]
176- ignored = [
177- " phf" , # used in build script output
178- " slug" , # used in askama templates, can be moved to web binary
179- ]
180-
181109[[bin ]]
182110name = " cratesfyi"
183111test = false
0 commit comments