This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
/
Cargo.toml
101 lines (90 loc) · 2.79 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
[package]
name = "typst-lsp"
version = "0.13.0"
edition = "2021"
license = "Apache-2.0 OR MIT"
[features]
default = ["remote-packages", "rustls-tls", "fontconfig"]
jaeger = ["opentelemetry", "opentelemetry-jaeger", "tracing-opentelemetry"]
# Enable support for web access to search and download remote packages from a
# repository. At present, that means only `@preview` packages listed at
# https://typst.app/docs/packages/.
remote-packages = ["reqwest"]
# Choose the TLS implementation. Using `native-tls` provides better integration
# with the user's system. However, on Linux, this means linking to OpenSSL,
# which can be difficult when cross compiling. On the other hand, cross
# compiling `rustls` is not as hard, and as a pure-Rust alternative, may be
# prefered regardless of compilation woes.
rustls-tls = ["reqwest?/rustls-tls"]
native-tls = ["reqwest?/native-tls"]
# Enables support for fontconfig.
# Required for font support in NixOS.
fontconfig = ["fontdb/fontconfig"]
[dependencies]
typst = "0.11.0"
typst-ide = "0.11.0"
typst-pdf = "0.11.0"
comemo = "0.4"
anyhow = "1.0.71"
async-compression = { version = "0.4.1", features = ["tokio", "gzip"] }
async-trait = "0.1.73"
bpaf = { version = "0.9.4", features = ["bright-color"] }
chrono = { version = "0.4.24", default-features = false, features = [
"std",
"clock",
] }
dirs = "5.0"
elsa = "1.10.0"
fontdb = { version = "0.16.0", default-features = false, features = [
"std",
"fs",
"memmap",
] }
futures = "0.3"
if_chain = "1.0"
indexmap = "2.1.0"
internment = "0.7.1"
itertools = "0.12.0"
lazy_static = "1.4.0"
once_cell = "1.19"
parking_lot = "0.12.1"
percent-encoding = "2.3.0"
regex = "1.8.1"
same-file = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.94"
siphasher = "1.0"
strum = { version = "0.26.1", features = ["derive"] }
thiserror = "1.0.44"
tokio = { version = "1.35.1", features = [
"macros",
"rt-multi-thread",
"io-std",
] }
tokio-tar = "0.3.1"
tokio-util = { version = "0.7.8", features = ["io"] }
tower-lsp = "0.20.0"
tracing = { version = "0.1.37", features = ["release_max_level_info"] }
tracing-subscriber = { version = "0.3.17", default-features = false, features = [
"std",
"registry",
"fmt",
] }
walkdir = "2.4"
typstfmt_lib = { git = "https://github.com/astrale-sharp/typstfmt", tag = "0.2.7" }
# jaeger
opentelemetry = { version = "0.21.0", optional = true }
opentelemetry-jaeger = { version = "0.20.0", features = [
"rt-tokio",
"isahc_collector_client",
"collector_client",
], optional = true }
tracing-opentelemetry = { version = "0.22.0", optional = true }
# remote-packages
reqwest = { version = "0.11.18", default-features = false, features = [
"stream",
], optional = true }
[dev-dependencies]
temp-dir = "0.1.11"
[build-dependencies]
cargo_metadata = "0.18.0"