forked from sile-typesetter/sile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
168 lines (141 loc) · 3.07 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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
[package]
name = "sile"
description = "Simon’s Improved Layout Engine"
readme = "README.md"
build = "build-aux/build.rs"
version = "0.15.7"
[workspace.package]
version = "0.15.7"
edition = "2021"
rust-version = "1.71.0"
authors = [
"Simon Cozens",
"Caleb Maclennan <[email protected]>",
"Olivier Nicole",
"Didier Willis",
]
homepage = "https://sile-typesetter.org"
repository = "https://github.com/sile-typesetter/sile"
license = "MIT"
[workspace]
resolver = "2"
members = [".", "rusile"]
[package.edition]
workspace = true
[package.rust-version]
workspace = true
[package.authors]
workspace = true
[package.homepage]
workspace = true
[package.repository]
workspace = true
[package.license]
workspace = true
[[bin]]
name = "sile"
required-features = ["cli"]
[profile.release]
lto = true
[features]
default = ["cli", "bash", "elvish", "fish", "manpage", "powershell", "zsh"]
lua54 = ["mlua/lua54"]
lua53 = ["mlua/lua53"]
lua52 = ["mlua/lua52"]
lua51 = ["mlua/lua51"]
luajit = ["mlua/luajit"]
vendored = ["mlua/vendored"]
static = ["rust-embed"]
variations = []
completions = ["cli", "clap_complete"]
cli = ["clap"]
bash = ["completions"]
elvish = ["completions"]
fish = ["completions"]
manpage = ["clap_mangen"]
powershell = ["completions"]
zsh = ["completions"]
[workspace.dependencies.mlua]
version = "0.10"
features = ["anyhow"]
[workspace.dependencies.sile]
path = "."
version = "0.15.7"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.4"
optional = true
features = ["derive", "string", "wrap_help"]
[dependencies.mlua]
workspace = true
features = ["macros"]
[dependencies.rust-embed]
version = "8.0"
optional = true
features = ["include-exclude"]
[dependencies.harfbuzz-sys]
version = "0.6"
optional = true
[dependencies.semver]
version = "1.0"
[build-dependencies.clap_complete]
version = "4.4"
optional = true
[build-dependencies.clap_mangen]
version = "0.2"
optional = true
[build-dependencies.clap]
version = "4.4"
optional = true
features = ["derive"]
[build-dependencies.vergen-gix]
version = "1.0"
default-features = false
features = ["build", "cargo", "rustc"]
[package.metadata.docs.rs]
features = ["luajit", "vendored"]
[package.metadata.typos.default]
locale = "en-us"
extend-ignore-re = [
"(?s)(#|//|--|%)\\s*typos: ignore start.*?\\n\\s*(#|//|--|%)\\s*typos: ignore end",
]
extend-ignore-identifiers-re = [
"[a-f0-9]{7}",
"^.{2,3}$",
"^twords?",
"[Pp]arms",
"wdth",
"0fpt",
"^ot",
"^hb_ot",
"^HB_",
"^Tyre$",
"PoDoFo",
"_Flate",
"pointint",
"DEPENDEES",
"EPdf",
"FileAttachement",
]
[package.metadata.typos.default.extend-words]
beveled = "bevelled" # mathML uses en-gb spelling
bevelled = "bevelled" # mathML uses en-gb spelling
centred = "centred" # Unicode character description
craters = "creators"
lamda = "lamda" # Unicode character description
neet = "need"
[package.metadata.typos.files]
ignore-hidden = false
extend-exclude = [
"/.git",
"CHANGELOG.md",
"build-aux/ax*",
"languages/*/hyphens*",
"lua-libraries/*",
"lua_modules/*",
"node_modules/*",
"tests/*.expected",
"cmake/*.diff",
"libtexpdf",
]