# 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 = "es-fluent-lang"
version = "0.4.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Opinionated crate for adding variants to a Language Enum.
"""
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/stayhydated/es-fluent"

[features]
bevy = []
default = ["macros"]
macros = ["dep:es-fluent-lang-macro"]

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

[dependencies.es-fluent-lang-macro]
version = "0.4.2"
optional = true

[dependencies.es-fluent-manager-core]
version = "0.4.2"

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

[dependencies.inventory]
version = "0.3.20"

[dependencies.log]
version = "0.4"

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

[lints.clippy]
dbg_macro = "deny"
todo = "deny"
type_complexity = "allow"
uninlined_format_args = "allow"
unused_trait_names = "warn"

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
