2021-05-03 13:48:46 +00:00
|
|
|
[package]
|
2022-07-27 18:32:17 +00:00
|
|
|
authors = ["juliancoffee <lightdarkdaughter@gmail.com>"]
|
2022-01-26 13:13:05 +00:00
|
|
|
edition = "2021"
|
2022-09-27 12:09:20 +00:00
|
|
|
name = "veloren-client-i18n"
|
|
|
|
description = "Optional crate for internalization and diagnostic of existing localizations for frontends to consume"
|
2022-07-27 18:32:17 +00:00
|
|
|
version = "0.13.0"
|
2021-05-03 13:48:46 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-05-07 11:24:37 +00:00
|
|
|
# Assets
|
2023-04-11 22:51:07 +00:00
|
|
|
common = {package = "veloren-common", path = "../../common"}
|
2021-05-07 11:24:37 +00:00
|
|
|
common-assets = {package = "veloren-common-assets", path = "../../common/assets"}
|
2022-09-08 21:24:14 +00:00
|
|
|
ron = "0.8"
|
2021-05-03 13:48:46 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-07-27 18:32:17 +00:00
|
|
|
# Localization
|
|
|
|
unic-langid = { version = "0.9"}
|
2022-08-07 11:39:04 +00:00
|
|
|
intl-memoizer = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
|
|
|
fluent = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
|
|
|
fluent-bundle = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
2022-07-27 18:32:17 +00:00
|
|
|
# Utility
|
|
|
|
hashbrown = { version = "0.12", features = ["serde", "nightly"] }
|
|
|
|
deunicode = "1.0"
|
2021-05-10 22:13:00 +00:00
|
|
|
tracing = "0.1"
|
2022-08-09 10:33:34 +00:00
|
|
|
# Bin
|
|
|
|
clap = { version = "3.1.8", features = ["suggestions", "std"], default-features = false, optional = true }
|
|
|
|
fluent-syntax = { git = "https://github.com/juliancoffee/fluent-rs.git", branch = "patched"}
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "i18n-check"
|
|
|
|
required-features = ["bin"]
|
|
|
|
|
2022-08-25 11:13:28 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "i18n-csv"
|
|
|
|
required-features = ["stat"]
|
|
|
|
|
2022-08-09 10:33:34 +00:00
|
|
|
[features]
|
|
|
|
bin = ["clap"]
|
|
|
|
stat = []
|