-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
145 lines (126 loc) · 3.32 KB
/
Cargo.toml
File metadata and controls
145 lines (126 loc) · 3.32 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[workspace]
members = [
"crates/codegen",
"crates/glossa",
"crates/shared",
"crates/l10n",
"crates/cli",
"crates/ui",
]
resolver = "3"
[workspace.package]
authors = ["Moe <m@tmoe.me>"]
edition = "2024"
version = "0.0.6"
license = "Apache-2.0"
keywords = ["i18n", "l10n"]
categories = ["internationalization", "localization"]
repository = "https://github.com/2moe/glossa"
rust-version = "1.85.0"
[workspace.dependencies]
getset = "0.1"
log = "0.4"
phf = { version = "0.11", default-features = false }
phf_codegen = "0.11"
phf_shared = { version = "0.11", default-features = false }
ahash = "0.8"
anyhow = "1.0"
tap = "1.0"
thiserror = { version = "2.0", default-features = false }
env_logger = { version = "0.11", default-features = false, features = [
"humantime",
"auto-color",
] }
itertools = { version = "0.14", default-features = false, features = [
"use_alloc",
] }
smallvec = "2.0.0-alpha.11"
collect-with = "0.0.2"
# codegen
ron = "0.10.1"
serde_json = "1.0"
serde_yml = "0.0.12"
toml = "0.8"
kstring = "2.0"
nom = "8.0"
rayon = "1.10"
walkdir = "2.5"
bincode = { version = "2.0", default-features = false }
compact_str = { version = "0.9", default-features = false }
serde_json5 = { version = "0.2", default-features = false }
dashmap = "6.1"
derive_more = { version = "2.0.1", default-features = false }
# cli
directories = "6.0.0"
[workspace.dependencies.glossa]
version = "0.0.6"
path = "crates/glossa"
[workspace.dependencies.glossa-shared]
version = "0.0.8"
path = "crates/shared"
[workspace.dependencies.glossa-l10n]
# path = "./crates/l10n"
version = "0.0.1"
[workspace.dependencies.glossa-codegen]
version = "0.0.9"
path = "crates/codegen"
[workspace.dependencies.glossa-dsl]
version = "0.0.16"
default-features = false
# path = "../tmpl-resolver"
[workspace.dependencies.testutils]
version = "0.0.5"
default-features = false
# path = "../testutils"
[workspace.dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0"
[workspace.dependencies.lang-id]
version = "0.0.20"
default-features = false
# path = "../lang-id"
[workspace.dependencies.hlight]
version = "0.0.11"
# path = "../hlight/crates/hlight"
[workspace.lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = ['cfg(__unstable_doc)']
[package]
name = "tests"
edition.workspace = true
[dev-dependencies]
bincode = { workspace = true, features = ["serde", "std"] }
serde.workspace = true
itertools.workspace = true
testutils = { workspace = true, features = ["os_cmd", "std"] }
phf = { workspace = true, features = ["macros", "serde"] }
ahash = { workspace = true, features = ["serde"] }
ron.workspace = true
anyhow.workspace = true
serde_json.workspace = true
compact_str = { workspace = true, features = ["serde"] }
smallvec.workspace = true
glossa-codegen.workspace = true
env_logger.workspace = true
glossa = { path = "crates/glossa" }
log.workspace = true
collect-with.workspace = true
tap.workspace = true
toml.workspace = true
glossa-shared = { workspace = true, features = ["consts"] }
glossa-l10n = { workspace = true, features = ["yes_no"] }
glossa-cli = { path = "crates/cli" }
# [[test]]
# name = "ci-utils"
# path = "ci/utils/ci-utils.rs"
[dependencies]
# envpath = "0.0.1"
# thiserror = "2.0.11"
# hlight = { path = "./crates/hlight" }
[profile.thin]
inherits = "release"
strip = true
panic = "abort"
opt-level = "s"
lto = "thin"