Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
f02ed17
kk
syphar Dec 5, 2025
7f414ba
WIP
syphar Dec 5, 2025
5483bca
alksdjfas
syphar Dec 5, 2025
11ca4c2
kaklajsdf
syphar Dec 5, 2025
8f2f535
kk
syphar Dec 5, 2025
41152fe
kk
syphar Dec 5, 2025
7cf67d6
WIP
syphar Dec 7, 2025
3868882
IWP
syphar Dec 7, 2025
edb4428
kjalksdjf
syphar Dec 7, 2025
1bc973e
WIP
syphar Dec 7, 2025
72db345
kk
syphar Dec 7, 2025
6caa46b
fix
syphar Dec 10, 2025
6ba92a5
watcher
syphar Dec 10, 2025
ca239de
move
syphar Dec 10, 2025
8d0e41c
kk
syphar Dec 10, 2025
a3172cf
check
syphar Dec 10, 2025
a1f7a08
registry api
syphar Dec 12, 2025
10d99e4
IPW
syphar Dec 12, 2025
0a17a33
more
syphar Dec 12, 2025
c5e2113
IPW
syphar Dec 12, 2025
df99079
WIP
syphar Dec 12, 2025
c99308e
WIP
syphar Dec 12, 2025
95e7e9c
more
syphar Dec 12, 2025
f5ad000
nbuild
syphar Dec 12, 2025
55108d8
movem
syphar Dec 12, 2025
72d83a6
kk
syphar Dec 12, 2025
3e596d4
kk
syphar Dec 12, 2025
07dcfef
clean up
syphar Dec 12, 2025
8f61ad7
save
syphar Dec 12, 2025
e0e65f4
save
syphar Dec 12, 2025
f611067
tryt
syphar Dec 12, 2025
8d57003
WI
syphar Dec 12, 2025
024150a
fix
syphar Dec 12, 2025
abcd36a
fix
syphar Dec 12, 2025
9b2a029
watcher / web binaries
syphar Dec 12, 2025
a8df0d6
context
syphar Dec 12, 2025
a1515fc
builder executable
syphar Dec 12, 2025
105a187
kk
syphar Dec 12, 2025
06074ee
kjlikj
syphar Dec 12, 2025
1a855bc
kk
syphar Dec 12, 2025
8685f20
save
syphar Dec 12, 2025
667731a
clean
syphar Dec 12, 2025
ccfe563
cleanup
syphar Dec 12, 2025
decfd34
kk
syphar Dec 12, 2025
c24dc9a
try
syphar Dec 12, 2025
6546f89
kk
syphar Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1,226 changes: 455 additions & 771 deletions Cargo.lock

Large diffs are not rendered by default.

146 changes: 28 additions & 118 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,137 +5,47 @@ 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 = "2024"

[workspace]
exclude = [
"ignored",
"tests",
".workspace",
".rustwide-docker",
resolver = "2"
members = [
"crates/lib/*",
"crates/bin/*"
]

[dependencies]
sentry = { version = "0.46.0", features = ["panic", "tracing", "tower-http", "anyhow", "backtrace"] }
log = "0.4"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["ansi", "fmt", "json", "env-filter", "tracing-log"] }
tracing-log = "0.2.0"
regex = "1"
clap = { version = "4.0.22", features = [ "derive" ] }
crates-index = { version = "3.0.0", default-features = false, features = ["git", "git-https", "git-performance", "parallel"] }
rayon = "1.6.1"
num_cpus = "1.15.0"
crates-index-diff = { version = "28.0.0", features = [ "max-performance" ]}
reqwest = { version = "0.12", features = ["json", "gzip"] }
semver = { version = "1.0.4", features = ["serde"] }
slug = "0.1.1"
sqlx = { version = "0.8", features = [ "runtime-tokio", "postgres", "sqlite", "chrono" ] }
url = { version = "2.1.1", features = ["serde"] }
docsrs-metadata = { path = "crates/metadata" }
[workspace.dependencies]
anyhow = { version = "1.0.42", features = ["backtrace"]}
thiserror = "2.0.3"
comrak = { version = "0.48.0", default-features = false }
syntect = { version = "5.0.0", default-features = false, features = ["parsing", "html", "dump-load", "regex-onig"] }
toml = "0.9.2"
askama = "0.14.0"
async-stream = "0.3.5"
bincode = "2.0.1"
chrono = { version = "0.4.11", default-features = false, features = ["clock", "serde"] }
clap = { version = "4.0.22", features = [ "derive" ] }
derive_more = { version = "2.0.0", features = ["display", "deref", "from", "into", "from_str"] }
futures-util = "0.3.5"
http = "1.0.0"
itertools = { version = "0.14.0" }
mime = "0.3.16"
mockito = "1.0.2"
opentelemetry = "0.31.0"
opentelemetry-otlp = { version = "0.31.0", features = ["grpc-tonic", "metrics"] }
opentelemetry-resource-detectors = "0.10.0"
opentelemetry_sdk = { version = "0.31.0", features = ["rt-tokio"] }
rustwide = { version = "0.20.0", features = ["unstable-toolchain-ci", "unstable"] }
mime_guess = "2"
zstd = "0.13.0"
flate2 = "1.1.1"
hostname = "0.4.0"
path-slash = "0.2.0"
base64 = "0.22"
strum = { version = "0.27.0", features = ["derive"] }
lol_html = "2.0.0"
font-awesome-as-a-crate = { path = "crates/font-awesome-as-a-crate" }
dashmap = "6.0.0"
zip = {version = "6.0.0", default-features = false, features = ["bzip2"]}
bzip2 = "0.6.0"
getrandom = "0.3.1"
itertools = { version = "0.14.0" }
hex = "0.4.3"
derive_more = { version = "2.0.0", features = ["display", "deref", "from", "into", "from_str"] }
sysinfo = { version = "0.37.2", default-features = false, features = ["system"] }
derive_builder = "0.20.2"

# Async
async-compression = { version = "0.4.32", features = ["tokio", "bzip2", "zstd", "gzip"] }
tokio = { version = "1.0", features = ["rt-multi-thread", "signal", "macros", "process", "sync"] }
tokio-util = { version = "0.7.15", default-features = false, features = ["io"] }
tracing-futures= { version = "0.2.5", features = ["std-future", "futures-03"] }
futures-util = "0.3.5"
async-stream = "0.3.5"
aws-config = { version = "1.0.0", default-features = false, features = ["rt-tokio", "default-https-client"] }
aws-sdk-s3 = "1.3.0"
aws-smithy-types-convert = { version = "0.60.0", features = ["convert-chrono"] }
http = "1.0.0"

# Data serialization and deserialization
rayon = "1.6.1"
regex = "1"
reqwest = { version = "0.12", features = ["json", "gzip"] }
sentry = { version = "0.46.0", features = ["panic", "tracing", "tower-http", "anyhow", "backtrace"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_with = "3.4.0"
bincode = "2.0.1"

# axum dependencies
async-trait = "0.1.83"
axum = { version = "0.8.1", features = ["macros"] }
axum-extra = { version = "0.12.0", features = ["typed-header", "routing", "middleware"] }
tower = "0.5.1"
tower-http = { version = "0.6.0", features = ["fs", "trace", "timeout", "catch-panic"] }
mime = "0.3.16"
percent-encoding = "2.2.0"

slug = "0.1.1"
sqlx = { version = "0.8", features = [ "runtime-tokio", "postgres", "sqlite", "chrono" ] }
strum = { version = "0.27.0", features = ["derive"] }
tempfile = "3.1.0"
fn-error-context = "0.2.0"

# Templating
askama = "0.14.0"
walkdir = "2"
phf = "0.13.1"

# 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
constant_time_eq = "0.4.2"
md5 = "0.8.0"

[dev-dependencies]
criterion = "0.8.0"
kuchikiki = "0.8"
http-body-util = "0.1.0"
rand = "0.9"
mockito = "1.0.2"
test-case = "3.0.0"
tower = { version = "0.5.1", features = ["util"] }
opentelemetry_sdk = { version = "0.31.0", features = ["rt-tokio", "testing"] }
aws-smithy-types = "1.0.1"
aws-smithy-runtime = {version = "1.0.1", features = ["client", "test-util"]}
indoc = "2.0.0"
pretty_assertions = "1.4.0"

[build-dependencies]
time = "0.3"
md5 = "0.8.0"
phf_codegen = "0.13"
thiserror = "2.0.3"
tokio = { version = "1.0", features = ["rt-multi-thread", "signal", "macros", "process", "sync"] }
toml = "0.9.2"
tracing = "0.1.37"
url = { version = "2.1.1", features = ["serde"] }
walkdir = "2"
anyhow = { version = "1.0.42", features = ["backtrace"] }
grass = { version = "0.13.1", default-features = false }
syntect = { version = "5.0.0", default-features = false, features = ["parsing", "dump-create", "yaml-load", "regex-onig"] }

[package.metadata.cargo-machete]
ignored = ["phf"]

[[bench]]
name = "compression"
harness = false

[[bin]]
name = "cratesfyi"
test = false
doc = false
10 changes: 10 additions & 0 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# validat

* [x] validate if some dependencies can bemoved from workspace to only crate deps
* [x] big binary crates should not depend on each other. the shared functionality should be extracte


## todo memaining
* [ ] re-add tests & write test helpers etc
* [ ] rewrite `build_queue_next_package` somehow nicer. Either just in the
builder with some queue-lib help, or intelligently in the queue lib
1 change: 0 additions & 1 deletion assets/syntaxes/Packages/CSS/.python-version

This file was deleted.

Loading