json-gettext 5.0.0

A library for getting text from JSON usually for internationalization.
Documentation
# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "json-gettext"
version = "5.0.0"
authors = ["Magic Len <len@magiclen.org>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"

[package.metadata.docs.rs]
features = [
    "regex",
    "rocket",
    "locale",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
langid = ["dep:unic-langid"]
language = ["langid"]
locale = ["langid"]
regex = ["dep:regex"]
region = ["langid"]
rocket = ["dep:rocket"]

[lib]
name = "json_gettext"
path = "src/lib.rs"

[dependencies.manifest-dir-macros]
version = "0.1.3"
features = ["tuple"]

[dependencies.regex]
version = "1"
optional = true

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

[dependencies.serde]
version = "1.0.184"

[dependencies.serde_json]
version = "1.0.50"

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

[dev-dependencies.rocket-accept-language]
version = "0.9"