[package]
edition = "2015"
name = "gettext-rs"
version = "0.8.0"
authors = [
"Konstantin Salikhov <koka58@yandex.ru>",
"Alexander Batischev <eual.jp@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe bindings for gettext"
homepage = "https://github.com/gettext-rs/gettext-rs"
documentation = "https://docs.rs/gettext-rs/"
readme = "README.md"
keywords = [
"gettext",
"binding",
"ffi",
"i18n",
"l10n",
]
license = "MIT"
repository = "https://github.com/gettext-rs/gettext-rs"
[features]
gettext-system = ["gettext-sys/gettext-system"]
[lib]
name = "gettextrs"
path = "src/lib.rs"
[[test]]
name = "current_textdomain_works"
path = "tests/current_textdomain_works.rs"
harness = false
[[test]]
name = "dcgettext_fn"
path = "tests/dcgettext_fn.rs"
harness = false
[[test]]
name = "dcngettext_fn"
path = "tests/dcngettext_fn.rs"
harness = false
[[test]]
name = "dgettext_fn"
path = "tests/dgettext_fn.rs"
harness = false
[[test]]
name = "dngettext_fn"
path = "tests/dngettext_fn.rs"
harness = false
[[test]]
name = "domain_directory_works"
path = "tests/domain_directory_works.rs"
harness = false
[[test]]
name = "gettext_fn"
path = "tests/gettext_fn.rs"
harness = false
[[test]]
name = "ngettext_fn"
path = "tests/ngettext_fn.rs"
harness = false
[[test]]
name = "npgettext_fn"
path = "tests/npgettext_fn.rs"
harness = false
[[test]]
name = "pgettext_fn"
path = "tests/pgettext_fn.rs"
harness = false
[[test]]
name = "setlocale_panics_on_zero_in_locale"
path = "tests/setlocale_panics_on_zero_in_locale.rs"
harness = false
[[test]]
name = "text_domain_error_invalid_locale"
path = "tests/text_domain_error_invalid_locale.rs"
harness = false
[[test]]
name = "text_domain_error_translation_not_found"
path = "tests/text_domain_error_translation_not_found.rs"
harness = false
[[test]]
name = "textdomain_codeset"
path = "tests/textdomain_codeset.rs"
harness = false
[dependencies.gettext-sys]
version = ">= 0.21.0, <0.28.0"
[dependencies.locale_config]
version = "0.3"