-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathCargo.toml
76 lines (63 loc) · 1.71 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
[workspace]
resolver = "2"
members = ["crates/*", "tests"]
default-members = ["crates/typstyle"]
[workspace.package]
version = "0.12.14"
rust-version = "1.80"
edition = "2021"
authors = ["Wenzhuo Liu"]
description = "Beautiful and reliable typst code formatter"
license = "Apache-2.0"
repository = "https://github.com/Enter-tainer/typstyle"
homepage = "https://enter-tainer.github.io/typstyle/"
[workspace.dependencies]
typstyle-core = { path = "crates/typstyle-core", version = "0.12.14" }
typstyle = { path = "crates/typstyle", version = "0.12.14" }
typstyle-consistency = { path = "crates/typstyle-consistency" }
# Used in core
typst-syntax = "0.12.0"
ecow = "0.2.3"
itertools = "0.13.0"
pretty = "0.12.3"
rustc-hash = "2.0"
serde = "1.0"
wasm-bindgen = { version = "0.2" }
# Use in CLI
anyhow = "1"
clap = { version = "4.5.20", features = ["derive", "env"] }
clap_complete = { version = "4.5.36" }
walkdir = { version = "2" }
log = "0.4"
anstream = "0.6"
colored = "2.2"
# Used in tests
insta = { version = "1.41.1" }
insta-cmd = "0.6"
libtest-mimic = "0.8.1"
pretty_assertions = "1.4.1"
tempfile = "3"
reflexo-world = { version = "0.5.0", default-features = false, features = [
"system",
] }
reflexo-typst = { version = "0.5.0", default-features = false, features = [
"system",
"no-content-hint",
] }
typst-assets = { version = "0.12.0", features = ["fonts"] }
typst-render = "0.12.0"
typst-pdf = "0.12.0"
typst = "0.12.0"
# Used in benchmark
criterion = { version = "0.5" }
# Build
vergen = { version = "9.0", features = ["build", "cargo", "rustc"] }
vergen-gitcl = { version = "1.0" }
[profile.dev.package]
insta.opt-level = 3
similar.opt-level = 3
[profile.test]
opt-level = 3
[profile.ci]
inherits = "release"
debug = true