forked from Myriad-Dreamin/shiroa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
80 lines (65 loc) · 2.22 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
[workspace.package]
description = "A simple tool for creating modern online books in pure typst."
authors = ["typst-book Developers"]
version = "0.1.4"
edition = "2021"
readme = "README.md"
license = "Apache-2.0"
homepage = "https://github.com/Myriad-Dreamin/typst-book"
repository = "https://github.com/Myriad-Dreamin/typst-book"
[workspace]
resolver = "2"
members = ["cli", "tools/build-from-source"]
[profile.release]
debug = true
[profile.release-stripped]
inherits = "release"
debug = false
strip = true
[workspace.dependencies]
typst = "0.11.0"
typst-assets = "0.11.0"
typst-ts-core = { version = "0.5.0-rc2" }
typst-ts-compiler = { version = "0.5.0-rc2" }
typst-ts-svg-exporter = { version = "0.5.0-rc2", features = [
"experimental-ligature",
] }
handlebars = "4.5"
# general
anyhow = "1"
comemo = "0.4"
tokio = { version = "1.36", features = ["full"] }
# cryptography and processing
serde = { version = "1" }
serde_json = "1"
toml = "0.8"
# web
warp = { version = "0.3", features = ["compression"] }
# cli
clap = { version = "4.5", features = ["derive", "env", "unicode", "wrap_help"] }
clap_complete = "4.5"
clap_complete_fig = "4.5"
# logging and tracing
env_logger = "0.11"
log = "0.4.21"
# misc
vergen = { version = "8.2.5", features = [
"build",
"cargo",
"git",
"gitcl",
"rustc",
] }
include_dir = "0.7.3"
pathdiff = "0.2.1"
[patch.crates-io]
typst = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "typst.ts-v0.11.0-3-content-hint" }
typst-syntax = { git = "https://github.com/Myriad-Dreamin/typst.git", branch = "typst.ts-v0.11.0-3-content-hint" }
# typst-ts-svg-exporter = { git = "https://github.com/Myriad-Dreamin/typst.ts", branch = "book-exp", package = "typst-ts-svg-exporter" }
# typst-ts-core = { git = "https://github.com/Myriad-Dreamin/typst.ts", branch = "book-exp", package = "typst-ts-core" }
# typst-ts-compiler = { git = "https://github.com/Myriad-Dreamin/typst.ts", branch = "book-exp", package = "typst-ts-compiler" }
# typst = { path = "../../../typst/crates/typst" }
# typst-syntax = { path = "../../../typst/crates/typst-syntax" }
# typst-ts-svg-exporter = { path = "../../exporter/svg" }
# typst-ts-compiler = { path = "../../compiler" }
# typst-ts-core = { path = "../../core" }