Switch gettext crate from GitHub to crates.io

This commit is contained in:
Kitaiti Makoto 2022-02-01 14:41:08 +09:00
parent 9662936b44
commit bc6580bbdc
3 changed files with 16 additions and 6 deletions

18
Cargo.lock generated
View file

@ -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",
]

View file

@ -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"

View file

@ -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"