Skip to content

Commit

Permalink
remove unused deps (#2264)
Browse files Browse the repository at this point in the history
found with cargo machete
remove pprof (doesn't work)
  • Loading branch information
PSeitz authored Nov 20, 2023
1 parent 0aae31d commit 47009ed
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,13 @@ rustc-hash = "1.1.0"
thiserror = "1.0.30"
htmlescape = "0.3.1"
fail = { version = "0.5.0", optional = true }
murmurhash32 = "0.3.0"
time = { version = "0.3.10", features = ["serde-well-known"] }
smallvec = "1.8.0"
rayon = "1.5.2"
lru = "0.12.0"
fastdivide = "0.4.0"
itertools = "0.12.0"
measure_time = "0.8.2"
async-trait = "0.1.53"
arc-swap = "1.5.0"

columnar = { version= "0.2", path="./columnar", package ="tantivy-columnar" }
Expand All @@ -75,15 +73,13 @@ matches = "0.1.9"
pretty_assertions = "1.2.1"
proptest = "1.0.0"
test-log = "0.2.10"
env_logger = "0.10.0"
futures = "0.3.21"
paste = "1.0.11"
more-asserts = "0.3.1"
rand_distr = "0.4.3"

[target.'cfg(not(windows))'.dev-dependencies]
criterion = { version = "0.5" }
pprof = { version= "0.13", features = ["flamegraph", "criterion"] }

[dev-dependencies.fail]
version = "0.5.0"
Expand Down
5 changes: 2 additions & 3 deletions benches/index-bench.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use criterion::{criterion_group, criterion_main, Criterion, Throughput};
use pprof::criterion::{Output, PProfProfiler};
use tantivy::schema::{TantivyDocument, FAST, INDEXED, STORED, STRING, TEXT};
use tantivy::{tokenizer, Index, IndexWriter};

Expand Down Expand Up @@ -253,12 +252,12 @@ criterion_group! {
}
criterion_group! {
name = gh_benches;
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
config = Criterion::default();
targets = gh_index_benchmark
}
criterion_group! {
name = wiki_benches;
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
config = Criterion::default();
targets = wiki_index_benchmark
}
criterion_main!(benches, gh_benches, wiki_benches);
1 change: 0 additions & 1 deletion columnar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ categories = ["database-implementations", "data-structures", "compression"]

[dependencies]
itertools = "0.12.0"
fnv = "1.0.7"
fastdivide = "0.4.0"

stacker = { version= "0.2", path = "../stacker", package="tantivy-stacker"}
Expand Down
1 change: 0 additions & 1 deletion columnar/columnar-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ license = "MIT"
columnar = {path="../", package="tantivy-columnar"}
serde_json = "1"
serde_json_borrow = {git="https://github.com/PSeitz/serde_json_borrow/"}
serde = "1"

[workspace]
members = []
Expand Down

0 comments on commit 47009ed

Please sign in to comment.