forked from longbridgeapp/rust-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (47 loc) · 1.36 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
[package]
authors = ["PingPongun <pp.pp4@vp.pl>", "Jason Lee <huacnlee@gmail.com>"]
build = "build.rs"
categories = ["localization", "internationalization"]
description = "Rust I18n is use Rust codegen for load YAML file storage translations on compile time, and give you a t! macro for simply get translation texts."
edition = "2021"
exclude = ["crates", "tests"]
keywords = ["i18n", "yml", "localization", "internationalization"]
license = "MIT"
name = "rust-i18n"
readme = "README.md"
repository = "https://github.com/longbridgeapp/rust-i18n"
version = "2.5.0"
[dependencies]
anyhow = { version = "1", optional = true }
once_cell = "1.10.0"
rust-i18n-extract = { path = "./crates/extract", version = "2.5.0", optional = true }
rust-i18n-support = { path = "./crates/support", version = "2.5.0" }
rust-i18n-macro = { path = "./crates/macro", version = "2.5.0" }
[dev-dependencies]
foo = { path = "examples/foo" }
criterion = "0.5"
lazy_static = "1"
indexmap = "2.0"
[build-dependencies]
globwalk = "0.8.1"
regex = "1"
[features]
extractor = ["dep:rust-i18n-extract", "dep:anyhow"]
[[example]]
name = "app"
test = true
[[bin]]
name = "cargo-i18n"
path = "src/main.rs"
required-features = ["extractor"]
[workspace]
members = [
"crates/extract",
"crates/support",
"crates/macro",
"examples/app-load-path",
"examples/foo",
]
[[bench]]
harness = false
name = "bench"