From 88fa09755ff31b39b0454f0da58bc41a90263e89 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sat, 10 Feb 2024 06:54:25 +0000 Subject: add initial localisation --- Cargo.lock | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 3fff1c8..2c56a4a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1455,6 +1455,9 @@ checksum = "38a712ff53e257d60d3d22936c51cafa606552129d55539c8a400de44eff676d" dependencies = [ "async-trait", "bytes", + "fluent", + "fluent-langneg", + "fluent-syntax", "futures-util", "headers", "hex", @@ -1462,6 +1465,7 @@ dependencies = [ "http-body-util", "hyper 1.1.0", "hyper-util", + "intl-memoizer", "mime", "mime_guess", "nix", @@ -1481,6 +1485,7 @@ dependencies = [ "tokio", "tokio-util", "tracing", + "unic-langid", "wildmatch", ] @@ -1518,6 +1523,12 @@ dependencies = [ "toml_edit 0.20.2", ] +[[package]] +name = "proc-macro-hack" +version = "0.5.20+deprecated" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" + [[package]] name = "proc-macro2" version = "1.0.78" @@ -2438,6 +2449,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "238722e6d794ed130f91f4ea33e01fcff4f188d92337a21297892521c72df516" dependencies = [ "unic-langid-impl", + "unic-langid-macros", ] [[package]] @@ -2449,6 +2461,30 @@ dependencies = [ "tinystr", ] +[[package]] +name = "unic-langid-macros" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c854cefb82ff2816410ce606acbad1b3af065140907b29be9229040752b83ec" +dependencies = [ + "proc-macro-hack", + "tinystr", + "unic-langid-impl", + "unic-langid-macros-impl", +] + +[[package]] +name = "unic-langid-macros-impl" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fea2a4c80deb4fb3ca51f66b5e2dd91e3642bbce52234bcf22e41668281208e4" +dependencies = [ + "proc-macro-hack", + "quote 1.0.35", + "syn 2.0.48", + "unic-langid-impl", +] + [[package]] name = "unicase" version = "2.7.0" -- cgit