# 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.95"
name = "es-fluent-shared"
version = "0.16.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared runtime-safe types and helpers for the es-fluent ecosystem"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/stayhydated/es-fluent"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.camino]
version = "1.2"

[dependencies.darling]
version = "0.23"

[dependencies.derive_more]
version = "2.1"
features = ["full"]

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

[dependencies.heck]
version = "0.5"

[dependencies.icu]
version = "2.2"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

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

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

[dependencies.syn]
version = "2.0"
features = ["full"]

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "1.0"

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

[lints.clippy]
dbg_macro = "deny"
derive_partial_eq_without_eq = "warn"
err_expect = "warn"
incompatible_msrv = "deny"
iter_on_single_items = "warn"
needless_bool = "warn"
redundant_clone = "warn"
todo = "deny"
type_complexity = "allow"
uninlined_format_args = "allow"
unused_trait_names = "warn"
useless_conversion = "warn"

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(coverage)"]
