-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
27 lines (24 loc) · 918 Bytes
/
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
[package]
name = "axum_l10n"
version = "0.2.8"
edition = "2021"
authors = ["tronicboy1"]
description = "A crate with localization utilities for Axum"
repository = "https://github.com/tronicboy1/axum_l10n"
license = "MIT OR Apache-2.0"
keywords = ["axum", "localization", "i18n", "l10n"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
tera = ["fluent", "dep:tera", "serde", "serde_json"]
fluent = ["dep:fluent", "intl-memoizer"]
[dependencies]
axum = { version = "0.7", default-features = false }
fluent = { version = "0.16", optional = true }
http = "1.0"
intl-memoizer = { version = "0.5", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
tera = { version = "1.19", optional = true }
tower = "0.4"
unic-langid = { version = "0.9", features = ["serde", "unic-langid-macros"] }