Source code

Revision control

Copy as Markdown

Other Tools

# 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"
rust-version = "1.67.0"
name = "fluent-fallback"
version = "0.7.2"
authors = [
"Caleb Maclennan <caleb@alerque.com>",
"Bruce Mitchener <bruce.mitchener@gmail.com",
"Zibi Braniecki <zibi@unicode.org>",
"Staś Małolepszy <stas@mozilla.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A high-level implementation of a collection of locale bundles including fallback between locales for Project Fluent,
a localization system designed to unleash the entire expressive power of natural language translations.
"""
readme = "README.md"
keywords = [
"localization",
"l10n",
"i18n",
"intl",
"internationalization",
]
categories = [
"localization",
"internationalization",
]
license = "Apache-2.0 OR MIT"
[lib]
name = "fluent_fallback"
path = "src/lib.rs"
[[example]]
name = "simple-fallback"
path = "examples/simple-fallback.rs"
[[test]]
name = "localization_test"
path = "tests/localization_test.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chunky-vec]
version = "0.1"
[dependencies.fluent-bundle]
version = "0.16.0"
[dependencies.futures]
version = "0.3"
[dependencies.once_cell]
version = "1.21"
[dependencies.pin-cell]
version = "0.2"
[dependencies.rustc-hash]
version = "2.1"
[dependencies.unic-langid]
version = "0.9"
[dev-dependencies.fluent-langneg]
version = "0.13"
[dev-dependencies.tokio]
version = "1.38"
features = [
"rt-multi-thread",
"macros",
]
[dev-dependencies.unic-langid]
version = "0.9"
features = ["macros"]