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.64.0"
name = "fluent-syntax"
version = "0.12.0"
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
include = [
"src/**/*",
"benches/*.rs",
"Cargo.toml",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A low-level parser, AST, and serializer API for the syntax used by 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"
[features]
all-benchmarks = []
default = []
json = [
"serde",
"dep:serde_json",
]
serde = ["dep:serde"]
[lib]
name = "fluent_syntax"
path = "src/lib.rs"
[[bin]]
name = "parser"
path = "src/bin/parser.rs"
[[bin]]
name = "update_fixtures"
path = "src/bin/update_fixtures.rs"
required-features = ["json"]
[[bench]]
name = "parser"
path = "benches/parser.rs"
harness = false
[[bench]]
name = "parser_iai"
path = "benches/parser_iai.rs"
harness = false
[dependencies.memchr]
version = "2.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.glob]
version = "0.3"
[dev-dependencies.iai]
version = "0.1"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"