1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#![recursion_limit = "1024"]
extern crate byteorder;
extern crate xml;
#[macro_use]
extern crate error_chain;
#[macro_use]
extern crate log;
extern crate encoding;
#[cfg(feature = "zip_decode")]
extern crate zip;
pub mod encoder;
pub mod chunks;
pub mod visitor;
pub mod model;
pub mod decoder;
#[cfg(test)]
pub mod test;
#[cfg(test)]
pub mod raw_chunks;
#[cfg(feature = "zip_decode")]
pub mod apk;
pub const STR_ARSC: &'static [u8] = include_bytes!("../resources/resources.arsc");
pub mod errors {
error_chain! {
foreign_links {
Io(::std::io::Error);
Xml(::xml::writer::Error);
Utf8(::std::string::FromUtf8Error);
Zip(::zip::result::ZipError) #[cfg(feature = "zip_decode")];
}
}
}