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. --- docs/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/Cargo.toml') diff --git a/docs/Cargo.toml b/docs/Cargo.toml index a87ca340..df6a42e3 100644 --- a/docs/Cargo.toml +++ b/docs/Cargo.toml @@ -13,7 +13,7 @@ bench = false [dependencies] typst = { path = ".." } typst-library = { path = "../library" } -comemo = "0.2.2" +comemo = { git = "https://github.com/typst/comemo" } heck = "0.4" include_dir = "0.7" once_cell = "1" -- cgit v1.2.3