forked from longbridge/rust-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (52 loc) · 1.51 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
[package]
authors = ["Jason Lee <[email protected]>"]
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 = "2018"
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.1.1-alpha.0"
[dependencies]
anyhow = {version = "1", optional = true}
clap = {version = "2.32", optional = true}
itertools = {version = "0.10.3", optional = true}
once_cell = "1.10.0"
quote = {version = "1", optional = true}
rust-i18n-extract = {path = "./crates/extract", version = "2.0.0", optional = true}
rust-i18n-support = {path = "./crates/support", version = "2.0.0"}
rust-i18n-macro = {path = "./crates/macro", version = "2.0.0"}
serde = "1"
serde_derive = "1"
toml = "0.7.4"
[dev-dependencies]
foo = {path = "examples/foo"}
criterion = "0.5"
lazy_static = "1"
[features]
default = ["rust-i18n-extract", "clap", "anyhow", "quote", "itertools"]
[build-dependencies]
globwalk = "0.8.1"
regex = "1"
[[example]]
name = "app"
test = true
[[bin]]
name = "cargo-i18n"
path = "src/main.rs"
required-features = ["default"]
[workspace]
members = [
"crates/extract",
"crates/support",
"crates/macro",
"examples/app-load-path",
"examples/foo",
]
[[bench]]
harness = false
name = "bench"