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

#31 in #xml-format

Download history 1/week @ 2024-06-03 23/week @ 2024-06-10 7/week @ 2024-07-08 4/week @ 2024-07-22 13/week @ 2024-07-29 5/week @ 2024-08-05 38/week @ 2024-08-12 4/week @ 2024-08-19 4/week @ 2024-09-02 71/week @ 2024-09-09 224/week @ 2024-09-16

299 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