Skip to content

Commit

Permalink
Release 0.3.1, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CUB3D committed Aug 13, 2020
1 parent 549f5e3 commit d04e54c
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 15 deletions.
2 changes: 1 addition & 1 deletion flash-lso/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flash-lso"
version = "0.3.0"
version = "0.3.1"
authors = ["CUB3D <callumthom11@gmail.com>"]
description = "Fast and safe SOL/AMF0/AMF3 format parsing. Supports serde, Adobe flex and cyclic references"
repository = "https://github.com/CUB3D/rust-sol"
Expand Down
1 change: 0 additions & 1 deletion flash-lso/src/amf3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ impl AMF3Decoder {

pub fn parse_element_object<'a>(&self, i: &'a [u8]) -> IResult<&'a [u8], Element> {
let (i, mut length) = read_int(i)?;
println!("Obj length = {}", length);

if length & REFERENCE_FLAG == 0 {
let len_usize: usize = (length >> 1)
Expand Down
2 changes: 0 additions & 2 deletions flash-lso/src/element_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ impl<T: PartialEq + Clone + Debug> ElementCache<T> {
}

pub fn to_length(&self, val: T, length: u32) -> Length {
println!("Looking up {:?}", val);
if let Some(i) = self.get_index(val) {
println!("ref = {}", i);
Length::Reference(i)
} else {
Length::Size(length)
Expand Down
110 changes: 99 additions & 11 deletions fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d04e54c

Please sign in to comment.