QEMU-Rust Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] scripts: introduce script to update cargo .wrap files
@ 2026-08-21  8:39 Paolo Bonzini
  2026-08-21  8:39 ` [PATCH 1/9] scripts: print build.rs diff Paolo Bonzini
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Paolo Bonzini @ 2026-08-21  8:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-rust

Another small piece of the usability puzzle for Rust, this time
tackling dependency updates.

Extend the existing scripts/get-wraps-from-cargo-registry.py so
that it is also able to use the versions in Cargo.lock.  This
makes it much easier to update .wrap files after running
"cargo update", though manual work is (intentionally) still
needed when the semver of a crate changes.

It's possible that this functionality will be moved to Meson either
wholly or in part.  As usual, introduce the prototype in QEMU so that
it's clear what is needed.

Paolo


Paolo Bonzini (9):
  scripts: print build.rs diff
  scripts: rename variable in scripts/get-wraps-from-cargo-registry.py
  scripts: do not assume the new version of the crate is present
  scripts: prepare for introduction of CrateSource class
  scripts: introduce CrateSource abstract class
  scripts: add functionality to update wrap files from Cargo.lock
  scripts: add the possibility of a quick update of the pacakge
  scripts: rename get-wraps-from-cargo-registry.py
  rust: update crates

 Cargo.lock                                    |  48 ++---
 Cargo.toml                                    |   2 +-
 ...argo-registry.py => update-cargo-wraps.py} | 198 +++++++++++++-----
 subprojects/attrs-0.2-rs.wrap                 |   9 +-
 subprojects/foreign-0.3-rs.wrap               |   9 +-
 ...sys-0.21-rs.wrap => glib-sys-0.22-rs.wrap} |   9 +-
 subprojects/libc-0.2-rs.wrap                  |  10 +-
 .../libc-0.2-rs/meson/meson.build             |  20 +-
 subprojects/quote-1-rs.wrap                   |  10 +-
 subprojects/unicode-ident-1-rs.wrap           |  10 +-
 10 files changed, 207 insertions(+), 118 deletions(-)
 rename scripts/{get-wraps-from-cargo-registry.py => update-cargo-wraps.py} (38%)
 rename subprojects/{glib-sys-0.21-rs.wrap => glib-sys-0.22-rs.wrap} (13%)

-- 
2.55.0



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2026-08-26  9:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21  8:39 [PATCH 0/9] scripts: introduce script to update cargo .wrap files Paolo Bonzini
2026-08-21  8:39 ` [PATCH 1/9] scripts: print build.rs diff Paolo Bonzini
2026-08-21  8:39 ` [PATCH 2/9] scripts: rename variable in scripts/get-wraps-from-cargo-registry.py Paolo Bonzini
2026-08-21  8:39 ` [PATCH 3/9] scripts: do not assume the new version of the crate is present Paolo Bonzini
2026-08-21  8:39 ` [PATCH 4/9] scripts: prepare for introduction of CrateSource class Paolo Bonzini
2026-08-21  8:39 ` [PATCH 5/9] scripts: introduce CrateSource abstract class Paolo Bonzini
2026-08-21  8:39 ` [PATCH 6/9] scripts: add functionality to update wrap files from Cargo.lock Paolo Bonzini
2026-08-21  8:39 ` [PATCH 7/9] scripts: add the possibility of a quick update of the pacakge Paolo Bonzini
2026-08-21  8:39 ` [PATCH 8/9] scripts: rename get-wraps-from-cargo-registry.py Paolo Bonzini
2026-08-26  9:11   ` Zhao Liu
2026-08-21  8:39 ` [PATCH 9/9] rust: update crates Paolo Bonzini
2026-08-24  7:17 ` [PATCH 0/9] scripts: introduce script to update cargo .wrap files Marc-André Lureau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox