-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (44 loc) 路 1.35 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
[package]
name = "tarjama"
description = "internationalize your rust applications"
readme = "README.md"
repository = "https://github.com/azjezz/tarjama"
documentation = "https://docs.rs/tarjama"
homepage = "https://github.com/azjezz/tarjama"
categories = [
"accessibility",
"internationalization",
"localization",
"text-processing",
]
exclude = ["/.github/*"]
version = "0.2.1"
edition = "2021"
authors = ["Saif Eddin Gmati <azjezz@protonmail.com>"]
license = "MIT OR Apache-2.0"
[dependencies]
unicode-segmentation = "1.11.0"
tokio = { version = "1.21.2", features = ["fs"], optional = true }
toml = { version = "0.5.9", optional = true }
futures-util = { version = "0.3.25", optional = true }
actix-web = { version = "4.5.1", default-features = false, optional = true }
actix-utils = { version = "3.0.1", optional = true }
accept-language = { version = "3.1.0", optional = true }
[dev-dependencies]
tokio = { version = "1.21.2", features = ["rt-multi-thread", "macros"] }
[features]
default = ["async", "toml"]
async = ["dep:tokio", "dep:futures-util"]
file = []
toml = ["file", "dep:toml"]
actix-web = ["dep:actix-web", "dep:actix-utils", "dep:accept-language"]
[package.metadata.docs.rs]
all-features = true
[[example]]
name = "directory"
required-features = ["toml"]
[[example]]
name = "simple"
required-features = ["toml"]
[[example]]
name = "plural"