From bc6580bbdcd1aeff63e997157fece98705593bab Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 1 Feb 2022 14:41:08 +0900 Subject: [PATCH] Switch gettext crate from GitHub to crates.io --- Cargo.lock | 18 ++++++++++++++---- Cargo.toml | 2 +- plume-front/Cargo.toml | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0a1d1d26..7ab1bd0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1529,12 +1529,22 @@ dependencies = [ "encoding", ] +[[package]] +name = "gettext" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ebb594e753d5997e4be036e5a8cf048ab9414352870fb45c779557bbc9ba971" +dependencies = [ + "byteorder 1.4.3", + "encoding", +] + [[package]] name = "gettext-macros" version = "0.4.0" source = "git+https://github.com/Plume-org/gettext-macros/?rev=a7c605f7edd6bfbfbfe7778026bfefd88d82db10#a7c605f7edd6bfbfbfe7778026bfefd88d82db10" dependencies = [ - "gettext", + "gettext 0.3.0", "gettext-utils", ] @@ -3064,7 +3074,7 @@ dependencies = [ "ctrlc", "diesel", "dotenv", - "gettext", + "gettext 0.4.0", "gettext-macros", "gettext-utils", "guid-create", @@ -3143,7 +3153,7 @@ name = "plume-front" version = "0.7.1" dependencies = [ "console_error_panic_hook", - "gettext", + "gettext 0.4.0", "gettext-macros", "gettext-utils", "js-sys", @@ -3891,7 +3901,7 @@ name = "rocket_i18n" version = "0.4.0" source = "git+https://github.com/Plume-org/rocket_i18n?rev=e922afa7c366038b3433278c03b1456b346074f2#e922afa7c366038b3433278c03b1456b346074f2" dependencies = [ - "gettext", + "gettext 0.3.0", "rocket", ] diff --git a/Cargo.toml b/Cargo.toml index b3fdcd47..e95ff48e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ activitypub = "0.1.3" atom_syndication = "0.11.0" clap = "2.33" dotenv = "0.15.0" -gettext = { git = "https://github.com/Plume-org/gettext/", rev = "294c54d74c699fbc66502b480a37cc66c1daa7f3" } +gettext = "0.4.0" gettext-macros = { git = "https://github.com/Plume-org/gettext-macros/", rev = "a7c605f7edd6bfbfbfe7778026bfefd88d82db10" } gettext-utils = { git = "https://github.com/Plume-org/gettext-macros/", rev = "a7c605f7edd6bfbfbfe7778026bfefd88d82db10" } guid-create = "0.2" diff --git a/plume-front/Cargo.toml b/plume-front/Cargo.toml index 40a7f8b7..2f1b7f21 100644 --- a/plume-front/Cargo.toml +++ b/plume-front/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -gettext = { git = "https://github.com/Plume-org/gettext/", rev = "294c54d74c699fbc66502b480a37cc66c1daa7f3" } +gettext = "0.4.0" gettext-macros = { git = "https://github.com/Plume-org/gettext-macros/", rev = "a7c605f7edd6bfbfbfe7778026bfefd88d82db10" } gettext-utils = { git = "https://github.com/Plume-org/gettext-macros/", rev = "a7c605f7edd6bfbfbfe7778026bfefd88d82db10" } lazy_static = "1.3"