typst-cli 0.15.0-rc.1

The command line interface for Typst.
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "typst-cli"
version = "0.15.0-rc.1"
authors = ["The Typst Project Developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The command line interface for Typst."
homepage = "https://typst.app"
readme = "README.md"
keywords = [
    "typst",
    "cli",
]
categories = [
    "compilers",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/typst/typst"
resolver = "2"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/typst-{ target }{ archive-suffix }"
bin-dir = "typst-{ target }/typst{ binary-ext }"
pkg-fmt = "txz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"

[features]
default = [
    "embedded-fonts",
    "http-server",
]
embedded-fonts = ["typst-kit/embedded-fonts"]
http-server = ["typst-kit/http-server"]
self-update = [
    "dep:self-replace",
    "dep:xz2",
    "dep:zip",
]
vendor-openssl = ["typst-kit/vendor-openssl"]

[[bin]]
name = "typst"
path = "src/main.rs"
doc = false

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[dependencies.chrono]
version = "0.4.24"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "4.4"
features = [
    "derive",
    "env",
    "wrap_help",
    "string",
]

[dependencies.clap_complete]
version = "4.2.1"

[dependencies.codespan-reporting]
version = "0.11"

[dependencies.color-print]
version = "0.3.6"

[dependencies.comemo]
version = "0.5.1"

[dependencies.dirs]
version = "6"

[dependencies.ecow]
version = "0.2.6"
features = ["serde"]

[dependencies.fs_extra]
version = "1.3"

[dependencies.open]
version = "5.0.1"

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.pathdiff]
version = "0.2"

[dependencies.rayon]
version = "1.7.0"

[dependencies.self-replace]
version = "1.3.7"
optional = true

[dependencies.semver]
version = "1"

[dependencies.serde]
version = "1.0.184"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.shell-escape]
version = "0.1.5"

[dependencies.sigpipe]
version = "0.1"

[dependencies.tar]
version = "0.4.46"

[dependencies.tempfile]
version = "3.7.0"

[dependencies.toml]
version = "0.8"
features = [
    "parse",
    "display",
]
default-features = false

[dependencies.typst]
version = "0.15.0-rc.1"

[dependencies.typst-bundle]
version = "0.15.0-rc.1"

[dependencies.typst-eval]
version = "0.15.0-rc.1"

[dependencies.typst-html]
version = "0.15.0-rc.1"

[dependencies.typst-kit]
version = "0.15.0-rc.1"
features = [
    "bundle",
    "embedded-fonts",
    "scan-fonts",
    "system-packages",
    "universe-packages",
    "datetime",
    "emit-diagnostics",
    "system-downloader",
    "watcher",
    "timer",
]
default-features = false

[dependencies.typst-layout]
version = "0.15.0-rc.1"

[dependencies.typst-macros]
version = "0.15.0-rc.1"

[dependencies.typst-pdf]
version = "0.15.0-rc.1"

[dependencies.typst-render]
version = "0.15.0-rc.1"

[dependencies.typst-svg]
version = "0.15.0-rc.1"

[dependencies.typst-timing]
version = "0.15.0-rc.1"

[dependencies.typst-utils]
version = "0.15.0-rc.1"

[dependencies.xz2]
version = "0.1"
features = ["static"]
optional = true

[dependencies.zip]
version = "8"
features = ["deflate"]
optional = true
default-features = false

[dev-dependencies.memchr]
version = "2"

[dev-dependencies.tempfile]
version = "3.7.0"

[build-dependencies.chrono]
version = "0.4.24"
features = [
    "clock",
    "std",
]
default-features = false

[build-dependencies.clap]
version = "4.4"
features = [
    "derive",
    "env",
    "wrap_help",
    "string",
]

[build-dependencies.clap_complete]
version = "4.2.1"

[build-dependencies.clap_mangen]
version = "0.3.0"
features = ["env"]

[build-dependencies.color-print]
version = "0.3.6"

[build-dependencies.semver]
version = "1"

[build-dependencies.serde]
version = "1.0.184"
features = ["derive"]

[build-dependencies.typst-utils]
version = "0.15.0-rc.1"

[lints.clippy]
blocks_in_conditions = "allow"
comparison_chain = "allow"
derived_hash_with_manual_eq = "allow"
disallowed_methods = "warn"
iter_over_hash_type = "warn"
manual_is_multiple_of = "allow"
manual_range_contains = "allow"
mutable_key_type = "allow"
uninlined_format_args = "warn"
wildcard_in_or_patterns = "allow"