Skip to content

Commit 2ab78d9

Browse files
committed
chore: upgrade rust dependencies
1 parent baa8a47 commit 2ab78d9

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

crates/alloc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ version = "0.1.0"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

8-
[target.'cfg(all(not(all(target_os = "linux", target_arch = "aarch64", target_env = "musl")), not(all(target_os = "windows", target_arch = "aarch64"))))'.dependencies]
8+
[target.'cfg(not(all(target_os = "linux", target_arch = "aarch64", target_env = "musl")))'.dependencies]
99
mimalloc-rust = {version = "0.1"}

crates/alloc/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#[cfg(all(
22
not(debug_assertions),
3-
not(all(target_os = "windows", target_arch = "aarch64")),
43
not(all(target_os = "linux", target_arch = "aarch64", target_env = "musl")),
54
))]
65
#[global_allocator]

packages/crc32/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ crate-type = ["cdylib"]
99

1010
[dependencies]
1111
crc32c = {version = "0.6"}
12-
crc32fast = {version = "1.2", features = ["nightly"]}
12+
crc32fast = {version = "1.3", features = ["nightly"]}
1313
global_alloc = {path = "../../crates/alloc"}
1414
napi = {version = "2"}
1515
napi-derive = {version = "2"}

packages/jieba/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ global_alloc = {path = "../../crates/alloc"}
1212
jieba-rs = {version = "0.6", features = ["default-dict", "tfidf", "textrank"]}
1313
napi = {version = "2"}
1414
napi-derive = {version = "2"}
15-
once_cell = "1.8"
15+
once_cell = "1"
1616

1717
[build-dependencies]
1818
napi-build = "1"

0 commit comments

Comments
 (0)