1#![warn(
4 anonymous_parameters,
5 nonstandard_style,
6 rust_2018_idioms,
7 trivial_casts,
8 trivial_numeric_casts,
9 unreachable_pub,
10 unused_extern_crates,
11 unused_qualifications,
12 variant_size_differences,
13 missing_docs
14)]
15
16const HEADER_VERSION: [u8; 2] = [0x00, 0xbf];
17const HEADER_SIGNATURE: [u8; 10] = [0x54, 0x43, 0x53, 0x4f, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00];
18const PADDING: [u8; 1] = [0x00];
19
20const FORMAT_VERSION_AMF0: u8 = 0x0;
21const FORMAT_VERSION_AMF3: u8 = 0x3;
22
23#[cfg(feature = "serde")]
24#[macro_use]
25extern crate serde;
26
27pub mod amf0;
29pub mod amf3;
31
32pub mod errors;
34mod nom_utils;
35pub mod read;
37pub mod types;
39pub mod write;
41
42pub mod extra;