Skip to content

Commit

Permalink
Update dependencies (2024-04)
Browse files Browse the repository at this point in the history
Change-Id: Iace0024cf30a407055e7e737b99646fdfb18e7d4
  • Loading branch information
vmiklos committed Apr 1, 2024
1 parent 0bb58f4 commit 5e46769
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: 1.76.0
toolchain: 1.77.1
components: rustfmt, clippy, llvm-tools-preview
- name: Rust Cache
uses: actions/[email protected]
Expand Down
42 changes: 21 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ license = "MIT"

[dependencies]
accept-language = "3.1.0"
anyhow = "1.0.80"
clap = "4.5.1"
anyhow = "1.0.81"
clap = "4.5.4"
csv = "1.3.0"
derivative = "2.2.0"
gettext = "0.4.0"
Expand All @@ -18,18 +18,18 @@ isahc = "1.7.2"
lazy_static = "1.4.0"
log = "0.4.21"
once_cell = "1.19.0"
regex = "1.10.3"
regex = "1.10.4"
rouille = "3.6.2"
rusqlite = { version = "0.31.0", features = ["bundled"] }
rust_icu_ucol = { version = "5.0.0", optional = true }
rust_icu_unumberformatter = { version = "5.0.0", optional = true }
rust_icu_ustring = { version = "5.0.0", optional = true }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
serde_yaml = "0.9.32"
simplelog = "0.12.1"
serde_json = "1.0.115"
serde_yaml = "0.9.34"
simplelog = "0.12.2"
time = { version = "0.3.34", features = ["formatting", "macros", "local-offset", "serde-well-known"] }
toml = "0.8.10"
toml = "0.8.12"
unidecode = "0.3.0"
url = "2.5.0"

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"license": "MIT",
"dependencies": {
"@types/node": "20.11.24",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"@types/node": "20.12.2",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"chart.js": "4.4.2",
"chartjs-plugin-datalabels": "2.2.0",
"chartjs-plugin-trendline": "2.1.0",
"clean-css-cli": "5.6.3",
"eslint": "8.57.0",
"sorttable": "1.0.2",
"ts-loader": "9.5.1",
"typescript": "5.3.3",
"webpack": "5.90.3",
"typescript": "5.4.3",
"webpack": "5.91.0",
"webpack-cli": "5.1.4"
},
"sideEffects": false,
Expand Down
4 changes: 2 additions & 2 deletions src/i18n.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use crate::context;

thread_local! {
static TRANSLATIONS: std::cell::RefCell<Option<gettext::Catalog>> = std::cell::RefCell::new(None);
static LANGUAGE: std::cell::RefCell<Option<String>> = std::cell::RefCell::new(None);
static TRANSLATIONS: std::cell::RefCell<Option<gettext::Catalog>> = const { std::cell::RefCell::new(None) };
static LANGUAGE: std::cell::RefCell<Option<String>> = const { std::cell::RefCell::new(None) };
}

/// Sets the language of the current thread.
Expand Down

0 comments on commit 5e46769

Please sign in to comment.