diff --git a/Cargo.toml b/Cargo.toml index e60e4be59..1730fb69a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tantivy" -version = "0.1.0" +version = "0.1.1" authors = ["Paul Masurel "] build = "build.rs" license = "MIT" diff --git a/script/build-static-binary.sh b/script/build-static-binary.sh deleted file mode 100755 index 6b46cda16..000000000 --- a/script/build-static-binary.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -# the musl-tools package must be installed. -rustup target add x86_64-unknown-linux-musl -cargo build --release --target=x86_64-unknown-linux-musl -cp target/x86_64-unknown-linux-musl/release/tantivy ../tantivy_doc/binaries/tantivy - diff --git a/src/common/timer.rs b/src/common/timer.rs index 70d505120..0ee3ddf82 100644 --- a/src/common/timer.rs +++ b/src/common/timer.rs @@ -28,14 +28,14 @@ impl<'a> Drop for OpenTimer<'a> { } } -#[derive(Debug)] +#[derive(Debug, RustcEncodable)] pub struct Timing { name: &'static str, duration: i64, depth: u32, } -#[derive(Debug)] +#[derive(Debug, RustcEncodable)] pub struct TimerTree { timings: Vec, }