Skip to content

chore: update all deps#244

Open
lizelive wants to merge 13 commits into
rust-mobile:masterfrom
lizelive:master
Open

chore: update all deps#244
lizelive wants to merge 13 commits into
rust-mobile:masterfrom
lizelive:master

Conversation

@lizelive

@lizelive lizelive commented Jul 1, 2026

Copy link
Copy Markdown

No description provided.

lizelive and others added 13 commits July 1, 2026 10:44
Refresh all dependency version requirements to their latest
semver-compatible releases (anyhow, serde, log, tracing, byteorder,
sha2, plist, clap, and others). No breaking API changes involved.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Migrate to the current rasn ASN.1 codec API: ConstOid was replaced by
Oid::const_new returning &'static Oid, EncapsulatedContentInfo::content
became Option<Any>, and SetOf grew its own insert-based API in place
of a raw BTreeSet.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adapt to the current zip API: ZipFile is now generic over its reader
(ZipFile<'_, R>), FileOptions was renamed SimpleFileOptions for the
common case, and start_file_aligned was folded into start_file via
FileOptions::with_alignment.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
pubgrub's DependencyProvider trait was split into separate prioritize
and choose_version methods (previously one combined
choose_package_version), Version no longer needs a lowest()/bump()
trait impl since Ranges<V> now derives VersionSet from plain
Ord + Clone + Debug + Display, and Range was renamed to Ranges with
richer constructors (lower_than, from_range_bounds) that make the
version bump() workaround for inclusive bounds unnecessary.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
PaddingScheme was replaced by concrete SignatureScheme types
(Pkcs1v15Sign::new::<D>()), and the PublicKey trait was folded into
inherent methods on RsaPublicKey. Also pin appbundle's direct pkcs8
dependency to 0.10.2 so it unifies with the pkcs8 version rsa 0.9
pulls in transitively, rather than creating two incompatible pkcs8
crate instances in the dependency graph.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
base64 0.21 removed the free encode/decode functions in favor of the
Engine trait; switch call sites to base64::engine::general_purpose::STANDARD.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…uild

quick-xml's serde integration changed its defaults significantly:

- The `$unflatten=name` prefix for child elements was removed; a plain
  field name now maps to a child element by default (mvn's Maven
  metadata/pom/dependency structs).
- Scalar fields now serialize as child elements by default instead of
  attributes; attributes require an explicit `@name` prefix. This
  silently broke every generated AndroidManifest.xml, AppxManifest.xml,
  AppxBlockMap.xml, and [Content_Types].xml attribute (e.g. `android:name`,
  `Name`, `Hash`) into wrong child elements, since none of those fields
  previously needed a prefix to be attributes. Added `@` prefixes
  throughout apk/manifest.rs and msix/{manifest,block_map,content_types}.rs
  to restore the original attribute-based output, and added regression
  tests asserting the attribute form since this was previously untested.
- Heterogeneous "choice" sequences (Vec of an enum where each variant
  serializes under its own tag name, e.g. msix's Capability/Rule enums)
  now require `#[serde(rename = "$value")]` on the Vec field; introduced
  a Capabilities wrapper struct for this in msix's manifest.
- `quick_xml::se::to_writer` now requires `fmt::Write` instead of
  `io::Write`; switched msix's byte-buffer writer to `to_utf8_io_writer`.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
indicatif, console, shlex, zstd, reqwest to latest majors in xbuild

All of these compiled and passed tests without call-site changes,
except reqwest's rustls-tls feature which was renamed to rustls in 0.13.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Image::read_png now requires Read + Seek instead of just Read, so wrap
the in-memory PNG buffer in a Cursor. x509-certificate stays pinned at
0.24.0 since apple-codesign 0.29 (the latest release) depends on that
exact version; bumping it would create two incompatible x509-certificate
crate instances in the graph.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
image::io::Reader was renamed to image::ImageReader, and
ImageOutputFormat was replaced by the existing ImageFormat enum used
directly with write_to. pem::Pem's tag/contents fields became private
accessor methods.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
No call-site changes required.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Also drops a now-unneeded `mut` on Zip::finish left over from the
zip 8.x migration, and sets workspace.resolver = "2" (implied by all
members being edition 2021) to silence the resolver warning that
appeared on every build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant