Skip to content

Commit 58962a1

Browse files
committed
chore: upgrade dependencies
1 parent 7f0293d commit 58962a1

File tree

7 files changed

+1051
-1284
lines changed

7 files changed

+1051
-1284
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ members = [
1212
]
1313

1414
[profile.release]
15-
codegen-units = 1
15+
codegen-units = 4
1616
lto = true
1717
overflow-checks = false
1818
strip = 'symbols'

crates/alloc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version = "0.1.0"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[target.'cfg(not(target_os = "linux"))'.dependencies]
9-
mimalloc-rust = { version = "0.1" }
9+
mimalloc-rust = { version = "0.2" }
1010

11-
[target.'cfg(all(target_os = "linux", target_env = "gnu", all(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
12-
tikv-jemallocator = { version = "0.4", features = ["disable_initial_exec_tls"] }
11+
[target.'cfg(all(target_os = "linux", not(all(target_env = "musl", target_arch = "aarch64"))))'.dependencies]
12+
mimalloc-rust = { version = "0.2", features = ["local-dynamic-tls"] }

crates/alloc/src/lib.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
#[cfg(not(target_os = "linux"))]
2-
#[global_allocator]
3-
static GLOBAL: mimalloc_rust::GlobalMiMalloc = mimalloc_rust::GlobalMiMalloc;
4-
51
#[cfg(all(
6-
target_os = "linux",
7-
target_env = "gnu",
8-
all(target_arch = "x86_64", target_arch = "aarch64")
2+
not(all(target_os = "linux", target_env = "musl", target_arch = "aarch64")),
3+
not(debug_assertions)
94
))]
105
#[global_allocator]
11-
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
6+
static ALLOC: mimalloc_rust::GlobalMiMalloc = mimalloc_rust::GlobalMiMalloc;

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@
2828
"@swc-node/core": "^1.9.0",
2929
"@swc-node/register": "^1.5.1",
3030
"@taplo/cli": "^0.3.2",
31-
"@types/node": "^17.0.33",
32-
"@typescript-eslint/eslint-plugin": "^5.23.0",
33-
"@typescript-eslint/parser": "^5.23.0",
31+
"@types/node": "^17.0.36",
32+
"@typescript-eslint/eslint-plugin": "^5.26.0",
33+
"@typescript-eslint/parser": "^5.26.0",
3434
"ava": "^4.2.0",
3535
"benchmark": "^2.1.4",
3636
"codecov": "^3.8.3",
3737
"cross-env": "^7.0.3",
38-
"eslint": "^8.15.0",
38+
"eslint": "^8.16.0",
3939
"eslint-config-prettier": "^8.5.0",
4040
"eslint-plugin-import": "^2.26.0",
4141
"eslint-plugin-prettier": "^4.0.0",
4242
"husky": "^8.0.1",
43-
"lerna": "^4.0.0",
44-
"lint-staged": "^12.4.1",
43+
"lerna": "^5.0.0",
44+
"lint-staged": "^12.4.2",
4545
"npm-run-all": "^4.1.5",
4646
"prettier": "^2.6.2",
47-
"ts-node": "^10.7.0",
47+
"ts-node": "^10.8.0",
4848
"tslib": "^2.4.0",
49-
"typescript": "^4.6.4"
49+
"typescript": "^4.7.2"
5050
},
5151
"lint-staged": {
5252
"*.@(js|ts|tsx)": [

packages/deno-lint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
"dependencies": {
7272
"clipanion": "^3.1.0",
73-
"typanion": "^3.8.0"
73+
"typanion": "^3.9.0"
7474
},
7575
"devDependencies": {
7676
"@types/webpack": "^5.28.0"

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2022-04-13
1+
nightly-2022-05-21

0 commit comments

Comments
 (0)