summaryrefslogtreecommitdiff
path: root/crates/typst-cli/Cargo.toml
diff options
context:
space:
mode:
authortingerrr <me@tinger.dev>2024-08-05 20:49:02 +0200
committerGitHub <noreply@github.com>2024-08-05 18:49:02 +0000
commit672f6e5f97c2bdcd3e94754c9486869bf7b8de56 (patch)
tree14dc74c6f841f69e7e820240af84b41f7c32b52b /crates/typst-cli/Cargo.toml
parent810491c9d31b614a435020f888fbd380e8e039a1 (diff)
Add typst-kit crate (#4540)
Diffstat (limited to 'crates/typst-cli/Cargo.toml')
-rw-r--r--crates/typst-cli/Cargo.toml18
1 files changed, 4 insertions, 14 deletions
diff --git a/crates/typst-cli/Cargo.toml b/crates/typst-cli/Cargo.toml
index 7ada123c..31f19f39 100644
--- a/crates/typst-cli/Cargo.toml
+++ b/crates/typst-cli/Cargo.toml
@@ -20,6 +20,7 @@ doc = false
[dependencies]
typst = { workspace = true }
typst-assets = { workspace = true, features = ["fonts"] }
+typst-kit = { workspace = true }
typst-macros = { workspace = true }
typst-pdf = { workspace = true }
typst-render = { workspace = true }
@@ -31,9 +32,6 @@ codespan-reporting = { workspace = true }
comemo = { workspace = true }
dirs = { workspace = true }
ecow = { workspace = true }
-env_proxy = { workspace = true }
-flate2 = { workspace = true }
-fontdb = { workspace = true, features = ["memmap", "fontconfig"] }
fs_extra = { workspace = true }
native-tls = { workspace = true }
notify = { workspace = true }
@@ -56,11 +54,6 @@ ureq = { workspace = true }
xz2 = { workspace = true, optional = true }
zip = { workspace = true, optional = true }
-# Explicitly depend on OpenSSL if applicable, so that we can add the
-# `openssl/vendored` feature to it if `vendor-openssl` is enabled.
-[target.'cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios", target_os = "watchos", target_os = "tvos")))'.dependencies]
-openssl = { workspace = true }
-
[build-dependencies]
chrono = { workspace = true }
clap = { workspace = true, features = ["string"] }
@@ -71,17 +64,14 @@ semver = { workspace = true }
[features]
default = ["embed-fonts"]
-# Embeds some fonts into the binary:
-# - For text: Linux Libertine, New Computer Modern
-# - For math: New Computer Modern Math
-# - For code: Deja Vu Sans Mono
-embed-fonts = []
+# Embeds some fonts into the binary, see typst-kit
+embed-fonts = ["typst-kit/embed-fonts"]
# Permits the CLI to update itself without a package manager.
self-update = ["dep:self-replace", "dep:xz2", "dep:zip"]
# Whether to vendor OpenSSL. Not applicable to Windows and macOS builds.
-vendor-openssl = ["openssl/vendored"]
+vendor-openssl = ["typst-kit/vendor-openssl"]
[lints]
workspace = true