diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 59af0df087..60bf346370 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11178,19 +11178,17 @@ (define-public rust-carapace-spec-clap-0.1 (description "This package provides spec generation for clap-rs/clap.") (license license:expat))) -(define-public rust-cargo-0.69 +(define-public rust-cargo-0.74 (package (name "rust-cargo") - (version "0.69.1") + (version "0.74.0") (source (origin (method url-fetch) (uri (crate-uri "cargo" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0m2dki3hx81vifhy2abp3j5079y3nja52arm60xp6lv24jwimkrf")) + (base32 "0mjcdim8fryq5kr4c3agzc8pvjlaf67kkmhws6wykpqrkkxp8i94")) (modules '((guix build utils))) (snippet '(begin (substitute* "Cargo.toml" @@ -11198,26 +11196,29 @@ (define-public rust-cargo-0.69 (string-append "^" version))))))) (build-system cargo-build-system) (arguments - `(;; The test suite is disabled as the internal 'cargo-test-macro' and - ;; 'cargo-test-support' crates are not included in the release. - #:tests? #f + `(#:tests? #f ; use of undeclared crate or module `cargo_test_support` #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) - ("rust-base64" ,rust-base64-0.13) + ("rust-base64" ,rust-base64-0.21) ("rust-bytesize" ,rust-bytesize-1) + ("rust-cargo-credential" ,rust-cargo-credential-0.3) + ("rust-cargo-credential-libsecret" ,rust-cargo-credential-libsecret-0.3) + ("rust-cargo-credential-macos-keychain" ,rust-cargo-credential-macos-keychain-0.3) + ("rust-cargo-credential-wincred" ,rust-cargo-credential-wincred-0.3) ("rust-cargo-platform" ,rust-cargo-platform-0.1) ("rust-cargo-util" ,rust-cargo-util-0.2) ("rust-clap" ,rust-clap-4) - ("rust-crates-io" ,rust-crates-io-0.35) + ("rust-crates-io" ,rust-crates-io-0.38) ("rust-curl" ,rust-curl-0.4) ("rust-curl-sys" ,rust-curl-sys-0.4) - ("rust-env-logger" ,rust-env-logger-0.10) ("rust-filetime" ,rust-filetime-0.2) ("rust-flate2" ,rust-flate2-1) ("rust-flate2" ,rust-flate2-1) ("rust-fwdansi" ,rust-fwdansi-1) - ("rust-git2" ,rust-git2-0.16) - ("rust-git2-curl" ,rust-git2-curl-0.17) + ("rust-git2" ,rust-git2-0.17) + ("rust-git2-curl" ,rust-git2-curl-0.18) + ("rust-gix" ,rust-gix-0.45) + ("rust-gix-features" ,rust-gix-features-0.30) ("rust-glob" ,rust-glob-0.3) ("rust-hex" ,rust-hex-0.4) ("rust-hmac" ,rust-hmac-0.12) @@ -11226,24 +11227,20 @@ (define-public rust-cargo-0.69 ("rust-humantime" ,rust-humantime-2) ("rust-ignore" ,rust-ignore-0.4) ("rust-im-rc" ,rust-im-rc-15) - ("rust-indexmap" ,rust-indexmap-1) - ("rust-is-terminal" ,rust-is-terminal-0.4) + ("rust-indexmap" ,rust-indexmap-2) ("rust-itertools" ,rust-itertools-0.10) ("rust-jobserver" ,rust-jobserver-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) ("rust-lazycell" ,rust-lazycell-1) ("rust-libc" ,rust-libc-0.2) - ("rust-libgit2-sys" ,rust-libgit2-sys-0.14) - ("rust-log" ,rust-log-0.4) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.15) ("rust-memchr" ,rust-memchr-2) - ("rust-opener" ,rust-opener-0.5) + ("rust-opener" ,rust-opener-0.6) ("rust-openssl" ,rust-openssl-0.10) ("rust-os-info" ,rust-os-info-3) ("rust-pasetors" ,rust-pasetors-0.6) ("rust-pathdiff" ,rust-pathdiff-0.2) - ("rust-percent-encoding" ,rust-percent-encoding-2) - ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4) - ("rust-rustc-workspace-hack" ,rust-rustc-workspace-hack-1) + ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9) + ("rust-rand" ,rust-rand-0.8) ("rust-rustfix" ,rust-rustfix-0.6) ("rust-semver" ,rust-semver-1) ("rust-serde" ,rust-serde-1) @@ -11253,23 +11250,29 @@ (define-public rust-cargo-0.69 ("rust-sha1" ,rust-sha1-0.10) ("rust-shell-escape" ,rust-shell-escape-0.1) ("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1) + ("rust-syn" ,rust-syn-2) + ("rust-tar" ,rust-tar-0.4) ("rust-tar" ,rust-tar-0.4) ("rust-tempfile" ,rust-tempfile-3) ("rust-termcolor" ,rust-termcolor-1) ("rust-time" ,rust-time-0.3) - ("rust-toml-edit" ,rust-toml-edit-0.15) + ("rust-toml" ,rust-toml-0.7) + ("rust-toml-edit" ,rust-toml-edit-0.19) + ("rust-tracing" ,rust-tracing-0.1) + ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3) + ("rust-unicase" ,rust-unicase-2) ("rust-unicode-width" ,rust-unicode-width-0.1) ("rust-unicode-xid" ,rust-unicode-xid-0.2) ("rust-url" ,rust-url-2) ("rust-walkdir" ,rust-walkdir-2) - ("rust-winapi" ,rust-winapi-0.3)) + ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs (("rust-same-file" ,rust-same-file-1) ("rust-snapbox" ,rust-snapbox-0.4)))) (native-inputs (list pkg-config)) (inputs - (list curl libssh2 libgit2 openssl zlib)) + (list curl libssh2 libgit2-1.6 openssl zlib)) (home-page "https://crates.io") (synopsis "Package manager for Rust") (description "Cargo, a package manager for Rust. This package provides