10 releases (breaking)
| 0.8.0 | Sep 24, 2019 |
|---|---|
| 0.7.0 | Jul 16, 2019 |
| 0.6.0 | Jul 11, 2019 |
| 0.5.0 | Jul 8, 2019 |
| 0.0.15 | Oct 24, 2018 |
#12 in #swf
33 downloads per month
22KB
640 lines
AVM1 Tree (Rust)
Rust implementation of the AVM1 Abstract Syntax Tree (AST).
Contributing
This repo uses Git submodules for its test samples:
# Clone with submodules
git clone --recurse-submodules git://github.com/open-flash/swf-parser.git
# Update submodules for an already-cloned repo
git submodule update --init --recursive --remote
This library is a standard Cargo project. You can test your changes with
cargo test. The commands must be run from the rs directory.
Code formatting is checked using rustfmt:
# Make sure that you have `rustfmt`
rustup component add rustfmt
# Check formatting
cargo fmt --all -- --check
# Format automatically
cargo fmt --all
Prefer non-master branches when sending a PR so your changes can be rebased if
needed. All the commits must be made on top of master (fast-forward merge).
CI must pass for changes to be accepted.
Dependencies
~0.6–1.5MB
~31K SLoC