Skip to content

Commit 199d0c0

Browse files
vlaciqkaiser
authored andcommitted
fix(rust/benchmark): follow-up package rename
Also, use `unblob` name, as it will only be visible in rust
1 parent 107ee0a commit 199d0c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ crate-type = [
1111
"cdylib", # for Python extension
1212
"rlib", # for benchmarking
1313
]
14-
name = "unblob_rust"
14+
name = "unblob"
1515

1616
[dependencies]
1717
log = "0.4.22"

rust/benches/benches_main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn shannon_entropy(c: &mut Criterion) {
1919
BenchmarkId::from_parameter(sample_size),
2020
&sample_size,
2121
|b, &size| {
22-
b.iter(|| unblob_native::math_tools::shannon_entropy(&sample[0..size]));
22+
b.iter(|| unblob::math_tools::shannon_entropy(&sample[0..size]));
2323
},
2424
);
2525
}
@@ -38,7 +38,7 @@ fn chi_square_probability(c: &mut Criterion) {
3838
BenchmarkId::from_parameter(sample_size),
3939
&sample_size,
4040
|b, &size| {
41-
b.iter(|| unblob_native::math_tools::chi_square_probability(&sample[0..size]));
41+
b.iter(|| unblob::math_tools::chi_square_probability(&sample[0..size]));
4242
},
4343
);
4444
}

0 commit comments

Comments
 (0)