-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathCargo.toml
79 lines (62 loc) · 2.13 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
[package]
name = "reflexo-typst"
description = "Bridge Typst to Web Rendering, with power of typst."
authors.workspace = true
version.workspace = true
license.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
[dependencies]
typst.workspace = true
typst-pdf = { workspace = true, optional = true }
reflexo-typst2vec.workspace = true
reflexo.workspace = true
tinymist-world.workspace = true
comemo.workspace = true
ecow.workspace = true
fxhash.workspace = true
serde.workspace = true
serde_json.workspace = true
log.workspace = true
rayon.workspace = true
rkyv = { workspace = true, optional = true }
ansi_term = { workspace = true, optional = true }
js-sys = { workspace = true, optional = true }
web-sys = { workspace = true, optional = true, features = ["console"] }
codespan-reporting.workspace = true
dirs = { workspace = true, optional = true }
walkdir = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
futures = "0.3.30"
fontdb = { workspace = true, optional = true }
notify = { workspace = true, optional = true }
parking_lot.workspace = true
indexmap.workspace = true
nohash-hasher.workspace = true
pathdiff.workspace = true
tar.workspace = true
reflexo-vec2svg = { workspace = true, optional = true }
[features]
default = ["full"]
full = ["system", "web", "dynamic-layout", "glyph2vec", "flat-vector"]
system = ["system-compile", "system-watch"]
web = ["web-render", "browser-compile"]
flat-vector = ["reflexo/flat-vector"]
lazy-fontdb = []
experimental-ligature = ["reflexo-vec2svg/experimental-ligature"]
no-content-hint = ["reflexo-typst2vec/no-content-hint"]
glyph2vec = ["reflexo-typst2vec/glyph2vec"]
dynamic-layout = ["dep:reflexo-vec2svg"]
system-compile = ["glyph2vec", "tinymist-world/system"]
system-watch = ["dep:notify", "dep:tokio"]
browser-compile = ["__web", "web-render", "glyph2vec", "tinymist-world/browser"]
browser-embedded-fonts = ["__web"]
__web = ["dep:js-sys", "dep:web-sys"]
__web_render = ["__web", "tinymist-world/web"]
web-render = ["__web_render"]
ast = ["ansi_term"]
pdf = ["typst-pdf"]
svg = ["dep:reflexo-vec2svg"]
[lints]
workspace = true