Skip to content

Commit ab57d28

Browse files
update deps & other things
1 parent 10a0a68 commit ab57d28

27 files changed

Lines changed: 565 additions & 603 deletions

File tree

Cargo.lock

Lines changed: 448 additions & 442 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 54 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -11,102 +11,84 @@ authors = ["RedstoneWizard08"]
1111
readme = "README.md"
1212

1313
[workspace.dependencies]
14-
anstyle = "1.0.10"
15-
anyhow = "1.0.95"
16-
async-trait = "0.1.85"
17-
axum = { version = "0.8.1", features = ["macros", "multipart", "ws"] }
18-
axum-core = "0.5.0"
19-
axum-extra = { version = "0.10.0", features = ["cookie", "typed-header"] }
14+
anyhow = "1.0.98"
15+
axum = { version = "0.8.3", features = ["macros", "multipart", "ws"] }
16+
axum-core = "0.5.2"
17+
axum-extra = { version = "0.10.1", features = ["cookie", "typed-header"] }
2018
base64 = "0.22.1"
21-
bytes = "1.9.0"
19+
bytes = "1.10.1"
2220
cfg-if = "1.0.0"
23-
chrono = { version = "0.4.39", features = ["pure-rust-locales", "serde"] }
24-
clap = { version = "4.5.26", features = ["derive", "color"] }
21+
chrono = { version = "0.4.40", features = ["pure-rust-locales", "serde"] }
22+
clap = { version = "4.5.37", features = ["derive", "color"] }
2523
clap-verbosity-flag = "3.0.2"
26-
clap_complete = "4.5.42"
24+
clap_complete = "4.5.47"
2725
colored = "3.0.0"
28-
color-eyre = "0.6.3"
29-
config = "0.15.5"
26+
config = "0.15.11"
3027
const_format = "0.2.34"
31-
copy_dir = "0.1.3"
3228
crates_io_api = "0.11.0"
33-
crossbeam-channel = "0.5.14"
34-
ctrlc = "3.4.5"
29+
crossbeam-channel = "0.5.15"
30+
ctrlc = "3.4.6"
3531
derive_builder = "0.20.2"
36-
diesel = { version = "2.2.6", features = ["chrono", "postgres"] }
32+
diesel = { version = "2.2.9", features = ["chrono", "postgres"] }
3733
diesel-async = { version = "0.5.2", features = ["tokio", "postgres", "deadpool"] }
3834
diesel_async_migrations = "0.15.0"
3935
diesel-derive-enum = { version = "2.1.0", features = ["postgres"] }
40-
dirs = "6.0.0"
4136
dotenvy = "0.15.7"
42-
duration-str = "0.13.0"
43-
eyre = "0.6.12"
44-
flate2 = "1.0.35"
37+
duration-str = "0.17.0"
38+
flate2 = "1.1.1"
4539
futures = "0.3.31"
4640
futures-util = "0.3.31"
47-
git2 = "0.20.0"
4841
glob = "0.3.2"
49-
http = "1.2.0"
50-
http-body-util = "0.1.2"
51-
hyper-util = { version = "0.1.4", features = ["tokio"] }
52-
hyper = { version = "1.5.2", features = ["client"] }
42+
http = "1.3.1"
43+
http-body-util = "0.1.3"
44+
hyper-util = { version = "0.1.11", features = ["tokio"] }
45+
hyper = { version = "1.6.0", features = ["client"] }
5346
ignore = "0.4.23"
54-
indexmap = "2.7.0"
55-
indicatif = "0.17.9"
56-
inquire = "0.7.5"
47+
indicatif = "0.17.11"
5748
itertools = "0.14.0"
58-
jsonwebtoken = "9.3.0"
5949
lazy_static = "1.5.0"
6050
lenient_semver = { version = "0.4.2", features = ["version_serde"] }
61-
log = "0.4.22"
62-
meilisearch-sdk = "0.27.1"
51+
log = "0.4.27"
52+
meilisearch-sdk = "0.28.0"
6353
mime_guess = "2.0.5"
6454
oauth2 = "5.0.0"
65-
object_store = { version = "0.11.2", features = ["aws"] }
66-
octocrab = "0.43.0"
67-
once_cell = "1.20.2"
68-
open = "5.3.2"
69-
openssl-sys = { version = "0.9.104", features = ["vendored"] }
70-
parking_lot = "0.12.3"
71-
portpicker = "0.1.1"
72-
pq-sys = { version = "0.6.3", features = ["bundled"] }
73-
proc-macro2 = "1.0.92"
74-
quote = "1.0.38"
75-
rand = "0.9.0"
55+
object_store = { version = "0.12.0", features = ["aws"] }
56+
octocrab = "0.44.0"
57+
once_cell = "1.21.3"
58+
openssl-sys = { version = "0.9.107", features = ["vendored"] }
59+
pq-sys = { version = "0.7.1", features = ["bundled"] }
60+
proc-macro2 = "1.0.95"
61+
quote = "1.0.40"
7662
random-string = "1.1.0"
77-
rayon = "1.10.0"
7863
regex = "1.11.1"
79-
reqwest = { version = "0.12.12", default-features = false, features = ["json", "rustls-tls", "multipart", "stream", "blocking"] }
80-
ron = "0.8.1"
64+
reqwest = { version = "0.12.15", default-features = false, features = ["json", "rustls-tls", "multipart", "stream", "blocking"] }
65+
ron = "0.10.1"
8166
rsbadges = "1.1.5"
82-
semver = { version = "1.0.24", features = ["serde"] }
83-
serde = { version = "1.0.217", features = ["derive"] }
84-
serde_json = "1.0.135"
67+
semver = { version = "1.0.26", features = ["serde"] }
68+
serde = { version = "1.0.219", features = ["derive"] }
69+
serde_json = "1.0.140"
8570
serde-this-or-that = "0.5.0"
8671
serde_yaml = "0.9.34"
87-
serde-xml-rs = "0.6.0"
72+
serde-xml-rs = "0.7.0"
8873
sha-1 = "0.10.1"
89-
sysinfo = "0.33.1"
90-
tar = "0.4.43"
91-
tempfile = "3.15.0"
92-
termsize = "0.1.9"
93-
thiserror = "2.0.11"
94-
tiny_http = "0.12.0"
95-
tokio = { version = "1.43.0", features = ["process", "rt", "rt-multi-thread", "macros"] }
96-
tokio-tungstenite = { version = "0.26.1", features = ["rustls"] }
97-
toml = "0.8.19"
98-
toml_edit = "0.22.23"
74+
sysinfo = "0.34.2"
75+
tar = "0.4.44"
76+
tempfile = "3.19.1"
77+
thiserror = "2.0.12"
78+
tokio = { version = "1.44.2", features = ["process", "rt", "rt-multi-thread", "macros"] }
79+
tokio-tungstenite = { version = "0.26.2", features = ["rustls"] }
80+
toml = "0.8.20"
81+
toml_edit = "0.22.24"
9982
tracing = "0.1.41"
10083
tracing-subscriber = { version = "0.3.19", features = ["ansi", "env-filter", "registry"] }
101-
tungstenite = { version = "0.26.1", features = ["rustls"] }
84+
tungstenite = { version = "0.26.2", features = ["rustls"] }
10285
url = "2.5.4"
10386
utoipa = { version = "5.3.1", features = ["axum_extras", "chrono", "yaml"] }
10487
utoipa-rapidoc = { version = "6.0.0", features = ["axum"] }
10588
utoipa-redoc = { version = "6.0.0", features = ["axum"] }
10689
utoipa-scalar = { version = "0.3.0", features = ["axum"] }
107-
utoipa-swagger-ui = { version = "9.0.0", features = ["axum"] }
108-
uuid = { version = "1.11.1", features = ["v4"] }
109-
zip = "2.2.2"
90+
utoipa-swagger-ui = { version = "9.0.1", features = ["axum"] }
91+
zip = "2.6.1"
11092

11193
axumite = { version = "0", path = "./crates/axumite" }
11294
imghdr = { version = "0", path = "./crates/imghdr", features = ["serde"] }
@@ -127,9 +109,12 @@ modhost-server-core = { version = "0", path = "./crates/modhost-server-core" }
127109
modhost-ui = { version = "0", path = "./crates/modhost-ui" }
128110
parse-wiki-text-2 = { version = "0", path = "./crates/parse-wiki-text-2" }
129111
quickhost = { version = "0", path = "./crates/quickhost" }
130-
opentelemetry-appender-tracing = { version = "0.27.0" }
131-
opentelemetry_sdk = { version = "0.27.1", features = ["rt-tokio", "trace"] }
132-
opentelemetry = { version = "0.27.1" }
133-
axum-tracing-opentelemetry = { version = "0.25.0" }
134-
opentelemetry-otlp = { version = "0.27.0", features = ["tonic"] }
135-
tracing-opentelemetry = { version = "0.28.0" }
112+
opentelemetry-appender-tracing = { version = "0.29.1" }
113+
opentelemetry_sdk = { version = "0.29.0", features = ["rt-tokio", "trace"] }
114+
opentelemetry = { version = "0.29.1" }
115+
axum-tracing-opentelemetry = { version = "0.28.0" }
116+
opentelemetry-otlp = { version = "0.29.0", features = ["tonic"] }
117+
tracing-opentelemetry = { version = "0.30.0" }
118+
119+
[workspace.metadata.cargo-shear]
120+
ignored = ["pq-sys", "openssl-sys"]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Modern Modpacks & RedstoneWizard08
3+
Copyright (c) 2025 Modern Modpacks & RedstoneWizard08
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

apps/astro-migrator/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,15 @@ diesel.workspace = true
1515
diesel-async.workspace = true
1616
indicatif.workspace = true
1717
itertools.workspace = true
18-
lenient_semver.workspace = true
1918
modhost.workspace = true
2019
modhost-config.workspace = true
2120
modhost-db.workspace = true
2221
modhost-search.workspace = true
2322
object_store.workspace = true
24-
reqwest.workspace = true
2523
ron.workspace = true
26-
semver.workspace = true
2724
serde.workspace = true
2825
serde_json.workspace = true
2926
serde-this-or-that.workspace = true
3027
sha-1.workspace = true
3128
tokio.workspace = true
3229
tracing.workspace = true
33-
tracing-subscriber.workspace = true

apps/astro/Cargo.toml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,15 @@ readme.workspace = true
1010

1111
[dependencies]
1212
anyhow.workspace = true
13-
axum.workspace = true
14-
clap.workspace = true
15-
clap-verbosity-flag.workspace = true
16-
clap_complete.workspace = true
1713
const_format.workspace = true
18-
dotenvy.workspace = true
19-
flate2.workspace = true
2014
itertools.workspace = true
2115
lenient_semver.workspace = true
2216
modhost.workspace = true
23-
modhost-db.workspace = true
2417
once_cell.workspace = true
2518
parse-wiki-text-2.workspace = true
2619
quickhost.workspace = true
2720
regex.workspace = true
2821
reqwest.workspace = true
29-
ron.workspace = true
30-
semver.workspace = true
3122
serde.workspace = true
3223
serde-xml-rs.workspace = true
33-
serde_json.workspace = true
34-
tar.workspace = true
35-
tokio.workspace = true
3624
tracing.workspace = true

apps/kjspkg-migrator/Cargo.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,21 @@ readme.workspace = true
1010

1111
[dependencies]
1212
anyhow.workspace = true
13-
chrono.workspace = true
1413
diesel.workspace = true
1514
diesel-async.workspace = true
1615
dotenvy.workspace = true
1716
flate2.workspace = true
1817
http-body-util.workspace = true
1918
indicatif.workspace = true
20-
itertools.workspace = true
21-
lenient_semver.workspace = true
2219
modhost.workspace = true
2320
modhost-config.workspace = true
2421
modhost-db.workspace = true
25-
modhost-search.workspace = true
2622
object_store.workspace = true
2723
octocrab.workspace = true
2824
reqwest.workspace = true
29-
ron.workspace = true
30-
semver.workspace = true
3125
serde.workspace = true
3226
serde_json.workspace = true
33-
serde-this-or-that.workspace = true
3427
sha-1.workspace = true
3528
tar.workspace = true
3629
tokio.workspace = true
3730
tracing.workspace = true
38-
tracing-subscriber.workspace = true

apps/kjspkg-migrator/src/fetcher.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub async fn get_manifest(
7171

7272
match client
7373
.repos(owner, repo)
74-
.raw_file(branch.clone(), path)
74+
.raw_file(branch.clone(), &path)
7575
.await
7676
{
7777
Ok(resp) => {
@@ -80,8 +80,8 @@ pub async fn get_manifest(
8080
let body = String::from_utf8(body.to_vec())?;
8181

8282
warn!(
83-
"Could not fetch '.kjspkg' from branch '{}' in repo '{}/{}': {}",
84-
branch, owner, repo, body
83+
"Could not fetch '{}' from branch '{}' in repo '{}/{}': {}",
84+
path, branch, owner, repo, body
8585
);
8686

8787
Ok(None)

apps/kjspkg-migrator/src/migrator.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ pub async fn run() -> Result<()> {
4040
let mut added_users = HashMap::new();
4141

4242
for (id, repo) in packages.into_iter().progress() {
43-
let mut split = repo.split(&['/'][..]);
44-
let owner = split.next().unwrap();
45-
let mut repo = split.next().unwrap();
43+
let (owner, mut repo) = repo.split_once('/').unwrap();
4644
let mut branch: Option<String> = None;
4745
let mut dir: Option<String> = None;
4846

apps/kjspkg-migrator/src/models.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ pub struct LegacyManifest {
66
pub description: String,
77
pub versions: Vec<u16>,
88
pub modloaders: Vec<String>,
9-
pub dependencies: Vec<String>,
10-
pub incompatibilities: Vec<String>,
9+
pub dependencies: Option<Vec<String>>,
10+
pub incompatibilities: Option<Vec<String>>,
1111
}

crates/include_dir/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ repository.workspace = true
1313
glob = { workspace = true, optional = true }
1414
include_dir_macros.workspace = true
1515

16-
[dev-dependencies]
17-
tempfile.workspace = true
18-
1916
[features]
2017
default = []
2118
nightly = ["include_dir_macros/nightly"]

0 commit comments

Comments
 (0)