From 47dff3765de863554ca296448555599fc50d4a8a Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 11 May 2023 10:50:30 +0200 Subject: Remove 'static bound on `World` Thanks to improvements in comemo, tracked types don't need to be 'static anymore. This means that the 'static bound on the `World` is now lifted and that the `Route` doesn't need to use unsafe code anymore to manage its lifetime. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f604a442..570b0b79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ bench = false typst-macros = { path = "macros" } bitflags = { version = "2", features = ["serde"] } bytemuck = "1" -comemo = "0.2.2" +comemo = { git = "https://github.com/typst/comemo" } ecow = "0.1" flate2 = "1" fontdb = "0.13" -- cgit v1.2.3