-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
74 lines (67 loc) · 2.23 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[workspace]
members = [".", "macros"]
[package]
name = "fluent-templates"
authors.workspace = true
categories.workspace = true
description.workspace = true
documentation.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true
resolver = "2"
rust-version = "1.70.0"
[workspace.package]
edition = "2021"
version = "0.11.0"
license = "MIT/Apache-2.0"
documentation = "https://docs.rs/fluent-templates/"
repository = "https://github.com/XAMPPRocky/fluent-templates"
authors = ["XAMPPRocky <[email protected]>"]
description = "Templating for the Fluent localization framework"
keywords = [
"handlebars",
"tera",
"fluent",
"internationalization",
"localization",
]
categories = ["internationalization", "localization", "template-engine"]
[workspace.dependencies]
unic-langid = { version = "0.9", features = ["macros"] }
ignore = "0.4"
flume = { version = "0.11", default-features = false }
once_cell = "1.19"
walkdir = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = ["macros", "ignore"]
macros = ["fluent-template-macros"]
ignore = ["dep:ignore", "fluent-template-macros/ignore", "dep:flume", "dep:log"]
walkdir = ["dep:walkdir", "fluent-template-macros/walkdir", "dep:log"]
handlebars = ["dep:handlebars", "dep:serde_json"]
tera = ["dep:tera", "dep:heck", "dep:serde_json"]
[dependencies]
handlebars = { version = "6", optional = true }
fluent-bundle = "0.15"
fluent-syntax = "0.11"
fluent-langneg = "0.13"
serde_json = { version = "1", optional = true }
unic-langid = { workspace = true, features = ["macros"] }
thiserror = "1"
tera = { version = "1.15", optional = true, default-features = false }
heck = { version = "0.5", optional = true }
ignore = { workspace = true, optional = true }
flume = { workspace = true, optional = true }
log = { version = "0.4", optional = true }
fluent-template-macros = { path = "./macros", optional = true, version = "0.11.0" }
once_cell = { workspace = true }
intl-memoizer = "0.5"
walkdir = { workspace = true, optional = true }
[dev-dependencies]
tempfile = "3.3"