# 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"
version = "0.11.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
The es-fluent crate
"""
readme = "README.md"
keywords = [
    "fluent",
    "i18n",
    "locale",
]
categories = [
    "localization",
    "internationalization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/stayhydated/es-fluent"

[features]
build = ["dep:es-fluent-toml"]
default = []
derive = ["dep:es-fluent-derive"]

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

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

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

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

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

[dependencies.arc-swap]
version = "1.8"

[dependencies.bon]
version = "3.8"

[dependencies.es-fluent-derive]
version = "0.11.0"
optional = true

[dependencies.es-fluent-derive-core]
version = "0.11.0"

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

[dependencies.es-fluent-toml]
version = "0.11.0"
optional = true

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

[dependencies.inventory]
version = "0.3"

[dependencies.rust-embed]
version = "8.11"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.es-fluent-generate]
version = "0.11.0"

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

[dev-dependencies.strum]
version = "0.27"
features = ["derive"]

[dev-dependencies.tempfile]
version = "3.24"

[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
