Bump deps (#613)

* Bump crossbeam

* Warnings--

* Remove outdated tempdir
This commit is contained in:
Kornel
2019-08-05 14:21:22 +01:00
committed by Paul Masurel
parent 280ea1209c
commit 754b55eee5
11 changed files with 21 additions and 23 deletions

View File

@@ -14,12 +14,12 @@ use tantivy::query::QueryParser;
use tantivy::schema::*;
use tantivy::Index;
use tantivy::{Snippet, SnippetGenerator};
use tempdir::TempDir;
use tempfile::TempDir;
fn main() -> tantivy::Result<()> {
// Let's create a temporary directory for the
// sake of this example
let index_path = TempDir::new("tantivy_example_dir")?;
let index_path = TempDir::new()?;
// # Defining the schema
let mut schema_builder = Schema::builder();