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

@@ -18,11 +18,12 @@ use tantivy::collector::FacetCollector;
use tantivy::query::AllQuery;
use tantivy::schema::*;
use tantivy::Index;
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_facet_example_dir")?;
let index_path = TempDir::new()?;
let mut schema_builder = Schema::builder();
schema_builder.add_text_field("name", TEXT | STORED);
@@ -75,4 +76,3 @@ fn main() -> tantivy::Result<()> {
Ok(())
}
use tempdir::TempDir;