aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-11-09 14:12:18 +0100
committermetamuffin <metamuffin@disroot.org>2025-11-09 14:12:18 +0100
commit2efc5f9444402c5ef9db25887f2e95d184af8e05 (patch)
tree07f317780bdbe87d633e5340fe87bc604484730d /common
parent6032bfd0fa7cfd10d1bc17e44f91a789aa86efad (diff)
downloadjellything-2efc5f9444402c5ef9db25887f2e95d184af8e05.tar
jellything-2efc5f9444402c5ef9db25887f2e95d184af8e05.tar.bz2
jellything-2efc5f9444402c5ef9db25887f2e95d184af8e05.tar.zst
upgrade deps + clippy
Diffstat (limited to 'common')
-rw-r--r--common/Cargo.toml8
-rw-r--r--common/src/routes.rs10
2 files changed, 9 insertions, 9 deletions
diff --git a/common/Cargo.toml b/common/Cargo.toml
index 7baed9f..cbe940b 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -4,9 +4,9 @@ version = "0.1.0"
edition = "2021"
[dependencies]
-serde = { version = "1.0.217", features = ["derive", "rc"] }
-bincode = { version = "2.0.0-rc.3", features = ["derive"] }
-chrono = { version = "0.4.39", features = ["serde"] }
-blake3 = "1.5.5"
+serde = { version = "1.0.228", features = ["derive", "rc"] }
+bincode = { version = "2.0.1", features = ["derive"] }
+chrono = { version = "0.4.42", features = ["serde"] }
+blake3 = "1.8.2"
hex = "0.4.3"
jellystream-types = { path = "../stream/types" }
diff --git a/common/src/routes.rs b/common/src/routes.rs
index 31e31d4..3e8682b 100644
--- a/common/src/routes.rs
+++ b/common/src/routes.rs
@@ -47,14 +47,14 @@ pub fn u_node_slug_progress(node: &str, time: f64) -> String {
format!("/n/{node}/progress?t={time}")
}
pub fn u_items() -> String {
- format!("/items")
+ "/items".to_string()
}
pub fn u_items_filter(page: usize, _filter: &NodeFilterSort) -> String {
// TODO
format!("/items?page={page}")
}
pub fn u_admin_users() -> String {
- format!("/admin/users")
+ "/admin/users".to_string()
}
pub fn u_admin_user(name: &str) -> String {
format!("/admin/user/{name}")
@@ -69,16 +69,16 @@ pub fn u_admin_log(warn_only: bool) -> String {
format!("/admin/log?warn_only={warn_only}")
}
pub fn u_admin_invite_create() -> String {
- format!("/admin/generate_invite")
+ "/admin/generate_invite".to_string()
}
pub fn u_admin_invite_remove() -> String {
- format!("/admin/remove_invite")
+ "/admin/remove_invite".to_string()
}
pub fn u_admin_import(incremental: bool) -> String {
format!("/admin/import?incremental={incremental}")
}
pub fn u_admin_update_search() -> String {
- format!("/admin/update_search")
+ "/admin/update_search".to_string()
}
pub fn u_account_register() -> String {
"/account/register".to_owned()