Skip to content

Commit afaa208

Browse files
authored
extract crate-related validation into sub-crate (#12435)
1 parent ab8941f commit afaa208

File tree

10 files changed

+406
-380
lines changed

10 files changed

+406
-380
lines changed

Cargo.lock

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ crates_io_session = { path = "crates/crates_io_session" }
8585
crates_io_tarball = { path = "crates/crates_io_tarball" }
8686
crates_io_team_repo = { path = "crates/crates_io_team_repo" }
8787
crates_io_trustpub = { path = "crates/crates_io_trustpub" }
88+
crates_io_validation = { path = "crates/crates_io_validation" }
8889
crates_io_version = { path = "crates/crates_io_version" }
8990
crates_io_worker = { path = "crates/crates_io_worker" }
9091
csv = "=1.4.0"

crates/crates_io_database/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ bon = "=3.8.1"
1212
chrono = { version = "=0.4.42", default-features = false, features = ["serde"] }
1313
crates_io_diesel_helpers = { path = "../crates_io_diesel_helpers" }
1414
crates_io_index = { path = "../crates_io_index" }
15+
crates_io_validation = { path = "../crates_io_validation" }
1516
diesel = { version = "=2.3.4", features = ["serde_json", "chrono", "numeric"] }
1617
diesel-async = { version = "=0.7.4", features = ["postgres"] }
1718
diesel_full_text_search = "=2.3.0"
@@ -24,7 +25,6 @@ serde_json = "=1.0.145"
2425
sha2 = "=0.10.9"
2526
thiserror = "=2.0.17"
2627
tracing = "=0.1.43"
27-
unicode-xid = "=0.2.6"
2828
utoipa = { version = "=5.4.0", features = ["chrono"] }
2929

3030
[dev-dependencies]

0 commit comments

Comments
 (0)