| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.64.0" |
| 15 |
name = "fluent-syntax" |
| 16 |
version = "0.12.0" |
| 17 |
authors = [ |
| 18 |
"Caleb Maclennan <[email protected]>", |
| 19 |
"Bruce Mitchener <[email protected]", |
| 20 |
"Zibi Braniecki <[email protected]>", |
| 21 |
"Staś Małolepszy <[email protected]>", |
| 22 |
] |
| 23 |
build = false |
| 24 |
include = [ |
| 25 |
"src/**/*", |
| 26 |
"benches/*.rs", |
| 27 |
"Cargo.toml", |
| 28 |
"README.md", |
| 29 |
"LICENSE-APACHE", |
| 30 |
"LICENSE-MIT", |
| 31 |
] |
| 32 |
autolib = false |
| 33 |
autobins = false |
| 34 |
autoexamples = false |
| 35 |
autotests = false |
| 36 |
autobenches = false |
| 37 |
description = """ |
| 38 |
A low-level parser, AST, and serializer API for the syntax used by Project Fluent, |
| 39 |
a localization system designed to unleash the entire expressive power of natural language translations. |
| 40 |
""" |
| 41 |
homepage = "https://www.projectfluent.org" |
| 42 |
readme = "README.md" |
| 43 |
keywords = [ |
| 44 |
"localization", |
| 45 |
"l10n", |
| 46 |
"i18n", |
| 47 |
"intl", |
| 48 |
"internationalization", |
| 49 |
] |
| 50 |
categories = [ |
| 51 |
"localization", |
| 52 |
"internationalization", |
| 53 |
] |
| 54 |
license = "Apache-2.0 OR MIT" |
| 55 |
repository = "https://github.com/projectfluent/fluent-rs" |
| 56 |
|
| 57 |
[features] |
| 58 |
all-benchmarks = [] |
| 59 |
default = [] |
| 60 |
json = [ |
| 61 |
"serde", |
| 62 |
"dep:serde_json", |
| 63 |
] |
| 64 |
serde = ["dep:serde"] |
| 65 |
|
| 66 |
[lib] |
| 67 |
name = "fluent_syntax" |
| 68 |
path = "src/lib.rs" |
| 69 |
|
| 70 |
[[bin]] |
| 71 |
name = "parser" |
| 72 |
path = "src/bin/parser.rs" |
| 73 |
|
| 74 |
[[bin]] |
| 75 |
name = "update_fixtures" |
| 76 |
path = "src/bin/update_fixtures.rs" |
| 77 |
required-features = ["json"] |
| 78 |
|
| 79 |
[dependencies.memchr] |
| 80 |
version = "2.0" |
| 81 |
|
| 82 |
[dependencies.serde] |
| 83 |
version = "1.0" |
| 84 |
features = ["derive"] |
| 85 |
optional = true |
| 86 |
|
| 87 |
[dependencies.serde_json] |
| 88 |
version = "1.0" |
| 89 |
optional = true |
| 90 |
|
| 91 |
[dependencies.thiserror] |
| 92 |
version = "2.0" |
| 93 |
|
| 94 |
[dev-dependencies.criterion] |
| 95 |
version = "0.5" |
| 96 |
|
| 97 |
[dev-dependencies.glob] |
| 98 |
version = "0.3" |
| 99 |
|
| 100 |
[dev-dependencies.iai] |
| 101 |
version = "0.1" |
| 102 |
|
| 103 |
[dev-dependencies.serde] |
| 104 |
version = "1.0" |
| 105 |
features = ["derive"] |
| 106 |
|
| 107 |
[dev-dependencies.serde_json] |
| 108 |
version = "1.0" |