swf/lib.rs
1//! # swf-rs
2//!
3//! Library for reading and writing Adobe Flash SWF files.
4//!
5//! # Organization
6//!
7//! This library consists of a `read` module for decoding SWF data, and a `write` library for
8//! writing SWF data.
9
10#[cfg(feature = "flate2")]
11extern crate flate2;
12#[macro_use]
13extern crate num_derive;
14extern crate num_traits;
15
16pub mod avm1;
17pub mod avm2;
18pub mod error;
19// TODO: Make this private?
20pub mod extensions;
21pub mod read;
22mod string;
23mod tag_code;
24mod types;
25pub mod write;
26
27#[cfg(test)]
28mod test_data;
29
30/// Re-exports
31pub use read::{decompress_swf, parse_swf};
32pub use string::*;
33pub use tag_code::TagCode;
34pub use types::*;
35pub use write::write_swf;