1pub mod abc;
2pub mod bytecode;
3pub mod class;
4pub mod code;
5mod error;
6pub mod field;
7pub mod header;
8pub mod literal;
9pub mod lnp;
10pub mod method;
11pub mod region;
12pub mod source;
13pub mod string;
14
15use scroll::{Sleb128, Uleb128};
16
17#[allow(non_camel_case_types)]
19pub type uint8_t = u8;
20#[allow(non_camel_case_types)]
22pub type uint16_t = u16;
23#[allow(non_camel_case_types)]
25pub type uint32_t = u32;
26#[allow(non_camel_case_types)]
28pub type uleb128_t = Uleb128;
29#[allow(non_camel_case_types)]
31pub type sleb128_t = Sleb128;
32
33#[cfg(feature = "logging")]
37fn init_logging() {
38 tracing_subscriber::fmt()
40 .with_max_level(tracing::Level::DEBUG)
41 .init();
42}
43
44#[cfg(not(feature = "logging"))]
45fn init_logging() {}