diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-10-03 14:42:24 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-10-03 14:42:24 +0000 |
| commit | 32ccedb2737f7c8754c52dfd74bbaa4e1fb56e80 (patch) | |
| tree | dfd2850e8f53d05cc9088d248661c29a96191d89 /Cargo.toml | |
| parent | 019321b17fb2d10cbae988ddc28c6b87564b2498 (diff) | |
| download | genenetwork4-32ccedb2737f7c8754c52dfd74bbaa4e1fb56e80.tar.gz | |
Downgrade crates needing rustc newer than Guix's packaged rust.
Guix's rust package is 1.85.1; crates.io has since published newer mysql_common, utoipa, utoipa-axum and transitive-dependency releases that only compile on rustc 1.88+ (mysql_common's own let-chains and is_multiple_of usage, utoipa-gen's darling 0.23 dependency, and icu_*/idna_adapter/uuid bumps pulled in via url/mysql). None of that is reachable by relaxing darling/icu/uuid alone -- mysql_common itself needs downgrading, which drags mysql with it. * Cargo.toml (mysql): 28.0.3 -> 26.0.1, the newest release still on mysql_common 0.35.x (0.36.x and 0.37.x both use let-chains/ is_multiple_of, stable only from rustc 1.88). (utoipa): 6.0.0 -> 5.5.0, (utoipa-axum): 0.3.0 -> 0.2.0, the newest pre-6.0 utoipa line (MSRV 1.75); utoipa-gen 6.x's darling 0.23 dependency (MSRV 1.88) comes along with utoipa 6.x. * Cargo.lock: Regenerate for the above; icu_collections, icu_locale_core, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, idna_adapter and uuid also drop to their newest rustc-1.85.1-compatible releases as a result. * rust-package.scm: Regenerate with `guix import crate -f Cargo.lock genenetwork4`. * guix.scm (genenetwork4-git)[native-inputs]: Update crate list to match. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XDDpXvZBQat9uSgDeEMJ8d
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml index 3588953..7744bbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,12 +5,12 @@ edition = "2024" [dependencies] axum = "0.8.9" -mysql = { version = "28.0.3", default-features = false, features = ["minimal-rust", "derive"] } +mysql = { version = "26.0.1", default-features = false, features = ["minimal-rust", "derive"] } serde = { version = "1.0.229", features = ["derive"] } tokio = { version = "1.53.1", features = ["rt-multi-thread", "macros"] } tower-http = { version = "0.7.1", features = ["request-id", "util"] } -utoipa = { version = "6.0.0", features = ["axum_extras"] } -utoipa-axum = "0.3.0" +utoipa = { version = "5.5.0", features = ["axum_extras"] } +utoipa-axum = "0.2.0" [dev-dependencies] http-body-util = "0.1.5" |
