# 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 = "2021"
name = "fluent-typed"
version = "0.2.6"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe access to Fluent localization messages"
readme = "README.md"
keywords = [
    "fluent",
    "internationalization",
    "localization",
]
categories = [
    "internationalization",
    "localization",
    "development-tools::build-utils",
]
license-file = "LICENSE"
repository = "https://github.com/human-solutions/fluent-typed"

[lib]
name = "fluent_typed"
path = "src/lib.rs"
doctest = false

[[test]]
name = "common"
path = "tests/common.rs"

[[test]]
name = "playground"
path = "tests/playground.rs"

[dependencies.fluent-bundle]
version = "0.15"

[dependencies.fluent-langneg]
version = "0.14.1"
optional = true

[dependencies.fluent-syntax]
version = "0.11"

[dependencies.icu_locid]
version = "1.5"
optional = true

[dependencies.unic-langid]
version = "0.9"

[dev-dependencies.insta]
version = "1.40"

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

[features]
build = []
langneg = [
    "dep:fluent-langneg",
    "dep:icu_locid",
]