feat: Introduce sst file dumping

Fixes #9
This commit is contained in:
Kerollmops
2018-08-19 13:40:07 +02:00
committed by Clément Renault
parent e5c54c4399
commit 2e0193a39e
7 changed files with 209 additions and 143 deletions

View File

@ -8,7 +8,7 @@ byteorder = "1.2"
[dependencies.fst]
git = "https://github.com/Kerollmops/fst.git"
branch = "op-builder-with-state"
branch = "always-match-clone"
[dependencies.levenshtein_automata]
git = "https://github.com/Kerollmops/levenshtein-automata.git"

View File

@ -186,8 +186,8 @@ pub struct MetadataBuilder<W, X> {
indexes: X,
}
impl<W: Write, X: Write> MetadataBuilder<W, X> {
impl<W: Write, X: Write> MetadataBuilder<W, X>
{
pub fn new(map: W, indexes: X) -> Self {
Self { inner: Inner::new(), map, indexes }
}