From b83bd1c52489e754ef0d532556a20d575cb3015c Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Mon, 15 Aug 2016 00:26:04 +0900 Subject: [PATCH] Fixed cargo toml --- Cargo.toml | 18 ++++++++++++------ README.md | 4 +++- build-static-binary.sh | 6 ++++++ 3 files changed, 21 insertions(+), 7 deletions(-) create mode 100755 build-static-binary.sh 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