Skip to main content

Crate andysu_cli

Crate andysu_cli 

Source
Expand description

Library half of the andysu CLI (the binary is a thin clap front end), so integration tests can call the same code.

Modules§

apk
APK reading: zip entries and a minimal binary-XML (AXML) parser for AndroidManifest.xml.
axml
Binary Android XML (AXML) as an editable tree: parse, modify, write.
elf
Minimal ELF shared-object rewriter (little-endian, 32/64-bit) for andysu pack.
hostapk
Build the frozen host APK from any finished APK (andysu split --host-template ...).
init
andysu init and the shared andysu.toml model.
keys
andysu keygen and andysu cert.
pack
andysu pack: turn a payload directory into a release (content-addressed blobs, deltas against earlier releases, and a release JSON) inside a site directory.
publish
andysu publish, sign, verify, rollback: channel manifests in a site directory.
serve
andysu serve: a tiny static HTTP/1.1 server for local remotes and tests. Supports Range: bytes=N-, ETag/If-None-Match (304), and fault injection: dropping the connection after N body bytes (once per path) to simulate network loss, and failing paths with 404/500.
split
andysu split app.apk: a finished APK becomes a payload directory (and, with the Gradle plugin or --host, a frozen host APK; see docs).

Functions§

now
random
read
write

Type Aliases§

R