diff --git a/server/Cargo.lock b/server/Cargo.lock index 40cfdbafd..60f573e73 100644 --- a/server/Cargo.lock +++ b/server/Cargo.lock @@ -4771,8 +4771,7 @@ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-truncate" version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5fbabedabe362c618c714dbefda9927b5afc8e2a8102f47f081089a9019226" +source = "git+https://github.com/CommanderStorm/unicode-truncate.git?rev=5cc7798#5cc7798610e31b2738bfabb145f28926c405d411" dependencies = [ "itertools", "unicode-width", diff --git a/server/main-api/Cargo.toml b/server/main-api/Cargo.toml index 69a29f235..5a653248e 100644 --- a/server/main-api/Cargo.toml +++ b/server/main-api/Cargo.toml @@ -34,7 +34,8 @@ rustls = { version = "0.23.5", default-features = false, features = ["ring"] } # cached = { version = "0.51.1", features = ["default", "async", "tokio", "disk_store"] } futures = "0.3.30" -unicode-truncate = "1.0.0" +# temporarily forked until https://github.com/Aetf/unicode-truncate/issues/16 is resolved +unicode-truncate = { git = "https://github.com/CommanderStorm/unicode-truncate.git", rev = "5cc7798"} # database sqlx = { version = "0.7.4", features = ["postgres", "runtime-tokio", "tls-rustls", "migrate", "macros", "chrono"] }