diff --git a/benchmarks/Cargo.lock b/benchmarks/Cargo.lock index a9746e1..d72b863 100644 --- a/benchmarks/Cargo.lock +++ b/benchmarks/Cargo.lock @@ -91,7 +91,7 @@ version = "0.1.2" dependencies = [ "askama 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "handlebars 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "horrorshow 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "horrorshow 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", "liquid 0.18.2 (registry+https://github.com/rust-lang/crates.io-index)", "maud 0.20.0", "rustc-serialize 0.3.24 (registry+https://github.com/rust-lang/crates.io-index)", @@ -201,7 +201,7 @@ dependencies = [ [[package]] name = "horrorshow" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -761,7 +761,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum generic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef25c5683767570c2bbd7deba372926a55eaae9982d7726ee2a1050239d45b9d" "checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb" "checksum handlebars 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d82e5750d8027a97b9640e3fefa66bbaf852a35228e1c90790efd13c4b09c166" -"checksum horrorshow 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "2597ee61238cfe666fe1d1b0fd80eb2bdf9c7999adb8e67cc395d63f17902143" +"checksum horrorshow 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "597674f6c0cc85b1ad05a5383aad6809d4f85e935cdd96961faaa69d8896b624" "checksum humansize 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b6cab2627acfc432780848602f3f558f7e9dd427352224b0d9324025796d2a5e" "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" "checksum itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358" diff --git a/benchmarks/benches/horrorshow.rs b/benchmarks/benches/horrorshow.rs index d1e73ff..76fbe56 100644 --- a/benchmarks/benches/horrorshow.rs +++ b/benchmarks/benches/horrorshow.rs @@ -1,10 +1,8 @@ #![feature(test)] -// TODO https://github.com/Stebalien/horrorshow-rs/issues/26 -#[macro_use] -extern crate horrorshow; extern crate test; +use horrorshow::html; use horrorshow::prelude::*; #[derive(Debug)]