Skip to content

Commit 279869d

Browse files
author
lukingcathy
authored
Update dependencies, remove unused dev dependency and make clippy happy (#128)
* Update dependencies and remove unused dev dependency * Make clippy happy
1 parent 46fdac7 commit 279869d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Cargo.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ all-features = true
1515

1616
[dev-dependencies]
1717
codspeed-criterion-compat = { workspace = true }
18-
rand = { workspace = true }
1918
wasm-bindgen-test = { workspace = true }
2019
rayon = { workspace = true }
2120

@@ -50,16 +49,15 @@ members = [".", "capi", "jieba-macros", "examples/weicheng"]
5049
[workspace.dependencies]
5150
c_fixed_string = "0.2.0"
5251
cedarwood = "0.4"
53-
codspeed-criterion-compat = "2.4.1"
52+
codspeed-criterion-compat = "3.0.4"
5453
derive_builder = "0.20.0"
5554
fxhash = "0.2.1"
5655
include-flate = "0.3.0"
5756
jieba-macros = { version = "0.7.1", path = "jieba-macros" }
5857
lazy_static = "1.0"
59-
ordered-float = "4.0"
60-
phf = "0.11"
61-
phf_codegen = "0.11"
62-
rand = "0.8"
58+
ordered-float = "5.0"
59+
phf = "0.12.1"
60+
phf_codegen = "0.12.1"
6361
rayon = "1.10"
64-
regex = "1.0"
62+
regex = "1.11.1"
6563
wasm-bindgen-test = "0.3.0"

src/sparse_dag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl StaticSparseDAG {
6969
}
7070

7171
#[inline]
72-
pub(crate) fn iter_edges(&self, from: usize) -> EdgeIter {
72+
pub(crate) fn iter_edges(&self, from: usize) -> EdgeIter<'_> {
7373
let cursor = self.start_pos.get(&from).unwrap().to_owned();
7474

7575
EdgeIter { dag: self, cursor }

0 commit comments

Comments
 (0)