diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..af7e6aaa --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +## v0.2.0 +- Added: `DocumentContentHandlers::end`. + +## v0.1.0 +- Initial release \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 9f86a443..09e64777 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "lol_html" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cargo-fuzz 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 3b2ace37..97929a56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lol_html" -version = "0.1.0" +version = "0.2.0" authors = ["Ivan Nikulin "] license = "BSD-3-Clause" description = "Streaming HTML rewriter/parser with CSS selector-based API" diff --git a/c-api/Cargo.lock b/c-api/Cargo.lock index c5289473..54b0e7bc 100644 --- a/c-api/Cargo.lock +++ b/c-api/Cargo.lock @@ -127,7 +127,7 @@ dependencies = [ [[package]] name = "lol_html" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -147,7 +147,7 @@ version = "0.1.0" dependencies = [ "cc 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", - "lol_html 0.1.0", + "lol_html 0.2.0", ] [[package]] diff --git a/c-api/tests/Cargo.lock b/c-api/tests/Cargo.lock index f30efaf9..f74399bf 100644 --- a/c-api/tests/Cargo.lock +++ b/c-api/tests/Cargo.lock @@ -70,7 +70,7 @@ dependencies = [ "cc 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)", "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", - "lol_html 0.1.0", + "lol_html 0.2.0", "lolhtml 0.1.0", ] @@ -143,7 +143,7 @@ dependencies = [ [[package]] name = "lol_html" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", @@ -163,7 +163,7 @@ version = "0.1.0" dependencies = [ "cc 1.0.46 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.65 (registry+https://github.com/rust-lang/crates.io-index)", - "lol_html 0.1.0", + "lol_html 0.2.0", ] [[package]] diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 56990858..a18ec427 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "lol_html" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", @@ -682,7 +682,7 @@ dependencies = [ "bindgen 0.50.0 (registry+https://github.com/rust-lang/crates.io-index)", "encoding_rs 0.8.19 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)", - "lol_html 0.1.0", + "lol_html 0.2.0", "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/fuzz/test_case/Cargo.lock b/fuzz/test_case/Cargo.lock index 6edc90ee..85ce3472 100644 --- a/fuzz/test_case/Cargo.lock +++ b/fuzz/test_case/Cargo.lock @@ -287,7 +287,7 @@ dependencies = [ [[package]] name = "lol_html" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", @@ -660,7 +660,7 @@ dependencies = [ "bindgen 0.50.0 (registry+https://github.com/rust-lang/crates.io-index)", "encoding_rs 0.8.19 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)", - "lol_html 0.1.0", + "lol_html 0.2.0", "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/js-api/Cargo.lock b/js-api/Cargo.lock index 7b564f12..cc8c6747 100644 --- a/js-api/Cargo.lock +++ b/js-api/Cargo.lock @@ -143,7 +143,7 @@ name = "lol-html-js-api" version = "0.1.0" dependencies = [ "js-sys 0.3.33 (registry+https://github.com/rust-lang/crates.io-index)", - "lol_html 0.1.0", + "lol_html 0.2.0", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde-wasm-bindgen 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "wasm-bindgen 0.2.56 (registry+https://github.com/rust-lang/crates.io-index)", @@ -151,7 +151,7 @@ dependencies = [ [[package]] name = "lol_html" -version = "0.1.0" +version = "0.2.0" dependencies = [ "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/src/rewritable_units/element.rs b/src/rewritable_units/element.rs index 031019ac..2d3eaf88 100644 --- a/src/rewritable_units/element.rs +++ b/src/rewritable_units/element.rs @@ -1050,11 +1050,11 @@ mod tests { #[test] fn add_attr() { test!( - |el| { - el.set_attribute("a5", r#"42'"42"#).unwrap(); - }, - r#""# - ); + |el| { + el.set_attribute("a5", r#"42'"42"#).unwrap(); + }, + r#""# + ); } #[test]