Crate axmldecoder[][src]

Expand description

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.

Structs

Cdata

Struct representing a Cdata element within the parsed XML document.

Element

Struct representing an element within the parsed XML document.

XmlDocument

Struct representing a parsed XML document.

Enums

Node

Enum representing possible nodes within the parsed XML document.

ParseError

Functions

parse

Parses an Android binary XML and returns a XmlDocument object.