Skip to content

Commit

Permalink
Move to async via tokio
Browse files Browse the repository at this point in the history
  • Loading branch information
tontinton committed May 14, 2024
1 parent c2e099f commit 0306ad5
Show file tree
Hide file tree
Showing 6 changed files with 225 additions and 166 deletions.
27 changes: 25 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lto = "thin"
bincode = "1.3.3"
clap = { version = "4.5.4", features = ["derive"] }
color-eyre = { version = "0.6.3", default-features = false }
itertools = "0.12.1"
futures = "0.3.30"
log = "0.4.21"
once_cell = "1.19.0"
opendal = { version = "0.46.0", features = ["layers-blocking", "services-fs"] }
Expand All @@ -29,7 +29,8 @@ serde = { version = "1.0.201", features = ["derive"] }
serde_json = "1.0.117"
tantivy = "0.22.0"
tokio = { version = "1.37.0", features = ["full"] }
tokio-util = { version = "0.7.11", features = ["compat"] }
uuid = { version = "1.8.0", features = ["v7"] }

[dev-dependencies]
tempfile = "3.10.1"
async-tempfile = "0.5.0"
3 changes: 0 additions & 3 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ The memory is split evenly between all indexing threads, once a thread reaches i
default_value = "1073741824"
)]
pub memory_budget: usize,

#[clap(short, long, help = "Merge all created segments into one segment.")]
pub merge: bool,
}

#[derive(Parser, Debug, Clone)]
Expand Down
Loading

0 comments on commit 0306ad5

Please sign in to comment.