Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
215 lines (207 loc) · 7.71 KB
/
Copy pathCargo.toml
File metadata and controls
215 lines (207 loc) · 7.71 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
[workspace]
members = ["crates/*", "docs", "tests", "tests/fuzz", "tests/wrapper"]
default-members = ["crates/typst-cli"]
resolver = "2"
[workspace.package]
version = "0.15.1"
rust-version = "1.92" # also change in ci.yml
authors = ["The Typst Project Developers"]
edition = "2024"
homepage = "https://typst.app"
repository = "https://github.com/typst/typst"
license = "Apache-2.0"
categories = ["compilers"]
keywords = ["typst"]
readme = "README.md"
[workspace.dependencies]
typst = { path = "crates/typst", version = "0.15.1" }
typst-bundle = { path = "crates/typst-bundle", version = "0.15.1" }
typst-cli = { path = "crates/typst-cli", version = "0.15.1" }
typst-eval = { path = "crates/typst-eval", version = "0.15.1" }
typst-html = { path = "crates/typst-html", version = "0.15.1" }
typst-ide = { path = "crates/typst-ide", version = "0.15.1" }
typst-kit = { path = "crates/typst-kit", version = "0.15.1", default-features = false }
typst-layout = { path = "crates/typst-layout", version = "0.15.1" }
typst-library = { path = "crates/typst-library", version = "0.15.1" }
typst-macros = { path = "crates/typst-macros", version = "0.15.1" }
typst-pdf = { path = "crates/typst-pdf", version = "0.15.1" }
typst-realize = { path = "crates/typst-realize", version = "0.15.1" }
typst-render = { path = "crates/typst-render", version = "0.15.1" }
typst-svg = { path = "crates/typst-svg", version = "0.15.1" }
typst-syntax = { path = "crates/typst-syntax", version = "0.15.1", features = ["timing"] }
typst-timing = { path = "crates/typst-timing", version = "0.15.1" }
typst-utils = { path = "crates/typst-utils", version = "0.15.1", default-features = false }
typst-assets = { git = "https://github.com/typst/typst-assets", rev = "94dcb99" }
typst-dev-assets = { git = "https://github.com/typst/typst-dev-assets", rev = "e26d7ca" }
arrayvec = "0.7.4"
az = "1.2"
base64 = "0.22"
bitflags = { version = "2.10", features = ["serde"] }
bumpalo = { version = "3.15.4", features = ["boxed", "collections"] }
bytemuck = "1"
chrono = { version = "0.4.24", default-features = false, features = ["clock", "std"] }
ciborium = "0.2.1"
clap = { version = "4.4", features = ["derive", "env", "wrap_help"] }
clap_complete = "4.2.1"
clap_complete_nushell = "4.6.2"
clap_mangen = { version = "0.3.0", features = ["env"] }
codespan-reporting = "0.11"
codex = { git = "https://github.com/typst/codex", rev = "2e43ab9" }
color-print = "0.3.6"
comemo = "0.5.1"
csv = "1"
ctrlc = "3.4.1"
dirs = "6"
ecow = { version = "0.2.6", features = ["serde"] }
either = "1"
env_proxy = "0.4"
fastrand = "2.3"
flate2 = { version = "1", features = ["zlib-rs"] }
fontdb = { version = "0.23", default-features = false }
fs_extra = "1.3"
glidesort = "0.1.2"
hayagriva = "0.10.1"
hayro = { git = "https://github.com/LaurenzV/hayro", rev = "d8e24e29eda62581e1ea15497effb2a884fb1608", default-features = false }
hayro-svg = { git = "https://github.com/LaurenzV/hayro", rev = "d8e24e29eda62581e1ea15497effb2a884fb1608", default-features = false }
hayro-syntax = { git = "https://github.com/LaurenzV/hayro", rev = "d8e24e29eda62581e1ea15497effb2a884fb1608" }
heck = "0.5"
hypher = "0.1.8"
icu_collator = { version = "2.3.1" }
icu_properties = { version = "2.2.0", features = ["serde"] }
icu_provider = { version = "2.2.0", features = ["sync"] }
icu_provider_blob = "2.2.0"
icu_segmenter = { version = "2.2.0", features = ["serde"] }
image = { version = "0.25.5", default-features = false, features = ["png", "jpeg", "gif", "webp"] }
indexmap = { version = "2", features = ["serde", "rayon"] }
infer = { version = "0.19.0", default-features = false }
itoa = "1"
kamadak-exif = "0.6"
krilla = { git = "https://github.com/LaurenzV/krilla", rev = "7772dbe", default-features = false, features = ["raster-images", "comemo", "rayon", "pdf"] }
krilla-svg = { git = "https://github.com/LaurenzV/krilla", rev = "7772dbe" }
kurbo = "0.13"
libfuzzer-sys = "0.4"
libm = "0.2.11"
lipsum = "0.9"
memchr = "2"
moxcms = "0.8.1"
native-tls = "0.2"
notify = "8"
once_cell = "1"
open = "5.0.1"
openssl = "0.10.80"
oxipng = { version = "10", default-features = false, features = ["filetime", "parallel"] }
palette = { version = "0.7.3", default-features = false, features = ["approx", "libm"] }
parking_lot = "0.12.1"
pathdiff = "0.2"
percent-encoding = "2.3.2"
phf = { version = "0.13", features = ["macros"] }
pixglyph = "0.6.1"
png = "0.18"
portable-atomic = "1.6"
proc-macro2 = "1"
quote = "1"
rayon = "1.7.0"
regex = "1"
regex-syntax = "0.8"
resvg = { version = "0.47", default-features = false, features = ["raster-images"] }
roxmltree = "0.21"
rust_decimal = { version = "1.36.0", default-features = false, features = ["maths"] }
rustc-hash = "2.1"
rustybuzz = "0.20"
ryu = "1"
same-file = "1"
self-replace = "1.3.7"
semver = "1"
serde = { version = "1.0.184", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
shell-escape = "0.1.5"
sigpipe = "0.1"
similar = { version = "3.1.0", features = ["inline", "unicode"] }
siphasher = "1"
smallvec = { version = "1.11.1", features = ["union", "const_generics", "const_new"] }
stacker = "0.1.19"
syn = { version = "2", features = ["full", "extra-traits"] }
syntect = { version = "5.3", default-features = false, features = ["parsing", "regex-fancy", "plist-load", "yaml-load"] }
tar = "0.4.46"
tempfile = "3.7.0"
thin-vec = "0.2.18"
time = { version = "0.3.55", features = ["formatting", "macros", "parsing"] }
tiny_http = "0.12"
tiny-skia = "0.12"
toml = { version = "0.8", default-features = false, features = ["parse", "display"] }
ttf-parser = "0.25.0"
two-face = { version = "0.4.3", default-features = false, features = ["syntect-fancy"] }
typed-arena = "2"
unicode_names2 = "3.1"
unicode-bidi = "0.3.18"
unicode-ident = "1.0"
unicode-math-class = "0.1"
unicode-normalization = "0.1.24"
unicode-script = "0.5"
unicode-segmentation = "1"
unscanny = "0.1"
ureq = { version = "2", default-features = false, features = ["native-tls", "gzip", "json"] }
url = "2.5"
usvg = { version = "0.47", default-features = false, features = ["text"] }
utf8_iter = "1.0.4"
walkdir = "2"
wasmi = { version = "1.0.9", default-features = false, features = ["simd"] }
web-sys = "0.3"
xmlwriter = "0.1.0"
xz2 = { version = "0.1", features = ["static"] }
zip = { version = "8", default-features = false, features = ["deflate"] }
[profile.dev.package."*"]
opt-level = 2
[profile.dev-fast]
inherits = "dev"
opt-level = 2
[profile.release]
lto = "thin"
codegen-units = 1
[profile.release.package."typst-cli"]
strip = true
[workspace.lints.clippy]
# See https://github.com/typst/typst/pull/6560#issuecomment-3045393640
derived_hash_with_manual_eq = "allow"
manual_is_multiple_of = "allow"
manual_range_contains = "allow"
mutable_key_type = "allow"
single_range_in_vec_init = "allow"
wildcard_in_or_patterns = "allow"
as_pointer_underscore = "warn"
as_underscore = "warn"
cloned_instead_of_copied = "warn"
decimal_literal_representation = "warn"
default_trait_access = "warn"
deref_by_slicing = "warn"
disallowed_methods = "warn"
doc_markdown = "warn"
elidable_lifetime_names = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
flat_map_option = "warn"
get_unwrap = "warn"
ignored_unit_patterns = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
iter_over_hash_type = "warn"
manual_is_variant_and = "warn"
match_wildcard_for_single_variants = "warn"
mut_mut = "warn"
needless_continue = "warn"
needless_raw_string_hashes = "warn"
needless_raw_strings = "warn"
range_plus_one = "warn"
rc_buffer = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_and_then = "warn"
semicolon_if_nothing_returned = "warn"
stable_sort_primitive = "warn"
trivially_copy_pass_by_ref = "warn"
uninlined_format_args = "warn"
unnecessary_self_imports = "warn"
unnecessary_semicolon = "warn"
unnested_or_patterns = "warn"
unseparated_literal_suffix = "warn"