cranpose-localization 0.9.8

Scoped Fluent catalogs and localization tooling for Cranpose
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"
name = "cranpose-localization"
version = "0.9.8"
authors = ["Dmitry Samoylenko"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scoped Fluent catalogs and localization tooling for Cranpose"
homepage = "https://samoylenkodmitry.github.io/cranpose/"
readme = "README.md"
keywords = [
    "gui",
    "ui",
    "compose",
    "declarative",
    "framework",
]
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/samoylenkodmitry/cranpose"
resolver = "2"

[features]
default = []
formatting = [
    "dep:icu_calendar",
    "dep:icu_datetime",
    "dep:icu_decimal",
    "dep:icu_locale",
    "dep:icu_experimental",
]
tooling = [
    "dep:syn",
    "dep:quote",
    "dep:proc-macro2",
    "dep:anyhow",
    "dep:toml",
    "dep:serde_json",
]

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

[[bin]]
name = "cranpose-l10n"
path = "src/bin/cranpose-l10n.rs"
required-features = ["tooling"]

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

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

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

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

[dependencies.anyhow]
version = "1.0.104"
optional = true

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

[dependencies.fluent-langneg]
version = "0.13.1"
features = ["cldr"]

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

[dependencies.icu_calendar]
version = "2.3"
features = ["compiled_data"]
optional = true
default-features = false

[dependencies.icu_datetime]
version = "2.3"
features = ["compiled_data"]
optional = true
default-features = false

[dependencies.icu_decimal]
version = "2.3"
features = [
    "compiled_data",
    "ryu",
]
optional = true
default-features = false

[dependencies.icu_experimental]
version = "0.6"
features = ["compiled_data"]
optional = true
default-features = false

[dependencies.icu_locale]
version = "2.3"
features = ["compiled_data"]
optional = true
default-features = false

[dependencies.proc-macro2]
version = "1.0.107"
features = ["span-locations"]
optional = true

[dependencies.quote]
version = "1.0.47"
optional = true

[dependencies.serde_json]
version = "1.0.151"
optional = true

[dependencies.syn]
version = "3.0.6"
features = [
    "full",
    "visit",
]
optional = true

[dependencies.thiserror]
version = "2.0.21"

[dependencies.toml]
version = "1.1.6"
optional = true

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

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

[lints.clippy]
assigning_clones = "warn"
clone_on_copy = "deny"
cloned_instead_of_copied = "warn"
dbg_macro = "deny"
elidable_lifetime_names = "warn"
explicit_iter_loop = "warn"
ignored_unit_patterns = "warn"
manual_assert = "warn"
manual_let_else = "warn"
map_unwrap_or = "warn"
needless_raw_string_hashes = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
redundant_locals = "deny"
semicolon_if_nothing_returned = "warn"
todo = "deny"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"

[lints.rust]
linker_messages = "deny"
unsafe_code = "deny"