# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "json-gettext"
version = "3.2.9"
authors = ["Magic Len <len@magiclen.org>"]
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE", "examples/*"]
description = "A library for getting text from JSON usually for internationalization."
homepage = "https://magiclen.org/json-gettext"
readme = "README.md"
keywords = ["json", "i18n", "multi-language", "static", "rocket"]
categories = ["internationalization"]
license = "MIT"
repository = "https://github.com/magiclen/json-gettext"

[[example]]
name = "hello"
required-features = ["rocket"]

[[example]]
name = "hello_language_region_pair"
required-features = ["rocket", "language_region_pair", "rocket-accept-language"]

[[example]]
name = "hello_language"
required-features = ["rocket", "language", "rocket-accept-language"]

[[example]]
name = "hello_region"
required-features = ["rocket", "region", "rocket-accept-language"]
[dependencies.regex]
version = "1"

[dependencies.rocket]
version = "0.4"
optional = true

[dependencies.rocket-accept-language]
version = "0.7"
optional = true

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.unic-langid]
version = "0.9"
features = ["macros"]
optional = true

[dependencies.unic-langid-macros]
version = "0.9"
optional = true

[features]
langid = ["unic-langid", "unic-langid-macros"]
language = ["langid"]
language_region_pair = ["langid"]
region = ["langid"]
rocketly = ["rocket"]
[badges.travis-ci]
branch = "master"
repository = "magiclen/json-gettext"
