# 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 = "2021" rust-version = "1.77" name = "typst-cli" version = "0.12.0" authors = ["The Typst Project Developers"] build = "build.rs" 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" [package.metadata.binstall] bin-dir = "typst-{ target }/typst{ binary-ext }" pkg-fmt = "txz" pkg-url = "{ repo }/releases/download/v{ version }/typst-{ target }{ archive-suffix }" [package.metadata.binstall.overrides.aarch64-pc-windows-msvc] pkg-fmt = "zip" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] pkg-fmt = "zip" [[bin]] name = "typst" path = "src/main.rs" doc = false [dependencies.chrono] version = "0.4.24" features = [ "clock", "std", ] default-features = false [dependencies.clap] version = "4.4" features = [ "derive", "env", "wrap_help", ] [dependencies.codespan-reporting] version = "0.11" [dependencies.color-print] version = "0.3.6" [dependencies.comemo] version = "0.4" [dependencies.dirs] version = "5" [dependencies.ecow] version = "0.2" features = ["serde"] [dependencies.fs_extra] version = "1.3" [dependencies.native-tls] version = "0.2" [dependencies.notify] version = "6" [dependencies.once_cell] version = "1" [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.same-file] version = "1" [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.tar] version = "0.4" [dependencies.tempfile] version = "3.7.0" [dependencies.toml] version = "0.8" features = [ "parse", "display", ] default-features = false [dependencies.typst] version = "0.12.0" [dependencies.typst-assets] version = "0.12.0" features = ["fonts"] [dependencies.typst-kit] version = "0.12.0" [dependencies.typst-macros] version = "0.12.0" [dependencies.typst-pdf] version = "0.12.0" [dependencies.typst-render] version = "0.12.0" [dependencies.typst-svg] version = "0.12.0" [dependencies.typst-timing] version = "0.12.0" [dependencies.ureq] version = "2" features = [ "native-tls", "gzip", "json", ] default-features = false [dependencies.xz2] version = "0.1" features = ["static"] optional = true [dependencies.zip] version = "2" features = ["deflate"] optional = true default-features = false [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.2.10" [build-dependencies.color-print] version = "0.3.6" [build-dependencies.semver] version = "1" [features] default = ["embed-fonts"] embed-fonts = ["typst-kit/embed-fonts"] self-update = [ "dep:self-replace", "dep:xz2", "dep:zip", ] vendor-openssl = ["typst-kit/vendor-openssl"] [lints.clippy] blocks_in_conditions = "allow" mutable_key_type = "allow" uninlined_format_args = "warn"