5 releases (breaking)

0.5.0 May 14, 2023
0.4.0 Oct 29, 2021
0.3.0 Jun 13, 2021
0.2.0 Jun 10, 2021
0.1.0 Jun 6, 2021

#2764 in Parser implementations

Download history 17/week @ 2024-02-16 20/week @ 2024-02-23 4/week @ 2024-03-01 13/week @ 2024-03-08 5/week @ 2024-03-15 3/week @ 2024-03-22 36/week @ 2024-03-29

57 downloads per month

MIT/Apache

59KB
2K SLoC

axmldecoder

Crates.io

Decoder for the binary XML format used by Android.

This library implements the minimal amount of parsing required obtain useful information from a binary AndroidManifest.xml. It does not support parsing generic binary XML documents and does not have support for decoding resource identifiers. In return, the compiled footprint of the library is much lighter as it does not have to link in Android's resources.arsc file.

For a full-featured Rust binary XML parser, abxml-rs is highly recommended if it is acceptable to link a 30MB resources.arsc file into your compiled binary.

Please file an issue with the relevant binary AndroidManifest.xml if if any issues are encountered.


lib.rs:

Decoder for the binary XML format used by Android.

This library implements the minimal amount of parsing required obtain useful information from a binary AndroidManifest.xml. It does not support parsing generic binary XML documents and does not have support for decoding resource identifiers. In return, the compiled footprint of the library is much lighter as it does not have to link in Android's resources.arsc file.

For a full-featured Rust binary XML parser, abxml-rs is highly recommended if it is acceptable to link a 30MB resources.arsc file into your compiled binary.

Please file an issue with the relevant binary AndroidManifest.xml if if any issues are encountered.

Dependencies

~3.5MB
~69K SLoC