Browse Source

Fixed cargo toml

develop
Paul Masurel 8 years ago
parent
commit
b83bd1c524
3 changed files with 21 additions and 7 deletions
  1. +12
    -6
      Cargo.toml
  2. +3
    -1
      README.md
  3. +6
    -0
      build-static-binary.sh

+ 12
- 6
Cargo.toml View File

@@ -1,11 +1,19 @@
[package]
name = "tantivy-cli"
version = "0.1.0"
version = "0.1.1"
authors = ["Paul Masurel <paul.masurel@gmail.com>"]

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"


+ 3
- 1
README.md View File

@@ -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


+ 6
- 0
build-static-binary.sh View File

@@ -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/

Loading…
Cancel
Save