diff --git a/Cargo.toml b/Cargo.toml index a4f65f8..35a195b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,19 @@ [package] name = "tantivy-cli" -version = "0.1.0" +version = "0.1.1" authors = ["Paul Masurel "] +description = """Command line interface for Tantivy, a search engine library.""" +documentation = "https://github.com/fulmicoton/tantivy" +homepage = "https://github.com/fulmicoton/tantivy" +repository = "https://github.com/fulmicoton/tantivy" + +readme = "README.md" +keywords = ["search", "information", "retrieval"] [dependencies] -tantivy = { path = "../tantivy" } +#tantivy = { path = "../tantivy" } +tantivy = "0.1.1" time = "0.1.34" iron = "0.4" staticfile = "0.3.0" @@ -13,12 +21,10 @@ rustc-serialize = "0.3.16" persistent="*" clap = "2" ansi_term = "0.8.0" +urlencoded = "0.4" +mount = "0.2.1" -[dependencies.urlencoded] -version = "0.4" -[dependencies.mount] -git = "https://github.com/iron/mount.git" # [dependencies.clap] #version = "2" diff --git a/README.md b/README.md index fb9f409..41bb03e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ -Tantivy-cli is command line interface for [tantivy search engine](https://github.com/fulmicoton/tantivy). +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) + +Tantivy-cli is command line interface for [tantivy search engine](https://github.com/fulmicoton/tantivy). # Tutorial: Indexing Wikipedia with Tantivy CLI diff --git a/build-static-binary.sh b/build-static-binary.sh new file mode 100755 index 0000000..7d8883d --- /dev/null +++ b/build-static-binary.sh @@ -0,0 +1,6 @@ +#!/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 ../../github/fulmicoton.github.io/tantivy-files/binaries/linux_x86_64/ \ No newline at end of file