Skip to content

Commit 7461720

Browse files
committed
remove build-deps and build.rs
1 parent d1fa477 commit 7461720

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

benchmarks/Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,6 @@ criterion = { version = "0.3", features = ["html_reports"] }
1818
quickcheck = "0.9"
1919
quickcheck_macros = "0.9"
2020

21-
[build-dependencies]
22-
anyhow = "1.0"
23-
bytes = "1.0"
24-
convert_case = "0.4"
25-
reqwest = { version = "0.11.3", features = ["blocking", "rustls-tls"], default-features = false }
26-
zip = "0.5.12"
27-
2821
[features]
2922
simd = ["roaring/simd"]
3023

benchmarks/benches/lib.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -346,20 +346,6 @@ fn serialized_size(c: &mut Criterion) {
346346
});
347347
}
348348

349-
fn extract_integers<A: AsRef<str>>(content: A) -> Result<Vec<u32>, ParseIntError> {
350-
content.as_ref().split(',').map(|s| s.trim().parse()).collect()
351-
}
352-
353-
// Parse every file into a vector of integer.
354-
fn parse_dir_files<A: AsRef<Path>>(
355-
files: A,
356-
) -> io::Result<Vec<(PathBuf, Result<Vec<u32>, ParseIntError>)>> {
357-
fs::read_dir(files)?
358-
.map(|r| r.and_then(|e| fs::read_to_string(e.path()).map(|r| (e.path(), r))))
359-
.map(|r| r.map(|(p, c)| (p, extract_integers(c))))
360-
.collect()
361-
}
362-
363349
fn from_sorted_iter(c: &mut Criterion) {
364350
let mut group = c.benchmark_group("from_sorted_iter");
365351

benchmarks/build.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)