feat: Simplify the levenshtein construction

This commit is contained in:
Clément Renault
2018-09-09 11:13:58 +02:00
parent f0f5fc9891
commit 31e04f0120
17 changed files with 156 additions and 141 deletions

View File

@ -1,4 +1,7 @@
cargo-features = ["edition"]
[package]
edition = "2018"
name = "raptor-indexer"
version = "0.1.0"
authors = ["Kerollmops <renault.cle@gmail.com>"]

View File

@ -1,12 +1,7 @@
// TODO make the raptor binary expose multiple subcommand
// make only one binary
extern crate raptor;
extern crate rocksdb;
extern crate serde_json;
#[macro_use] extern crate serde_derive;
extern crate unidecode;
extern crate moby_name_gen;
use std::path::Path;
use std::collections::{HashSet, BTreeMap};
@ -129,7 +124,7 @@ fn main() {
for (key, value) in fields {
sst_file_writer.put(key.as_bytes(), value.as_bytes()).unwrap();
}
let sst_file_info = sst_file_writer.finish().unwrap();
let _sst_file_info = sst_file_writer.finish().unwrap();
builder.finish().unwrap();