# 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-kit" version = "0.12.0" authors = ["The Typst Project Developers"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Common utilities for Typst tooling." homepage = "https://typst.app" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/typst/typst" [lib] name = "typst_kit" path = "src/lib.rs" [dependencies.dirs] version = "5" optional = true [dependencies.ecow] version = "0.2" features = ["serde"] [dependencies.env_proxy] version = "0.4" optional = true [dependencies.flate2] version = "1" optional = true [dependencies.fontdb] version = "0.21" optional = true default-features = false [dependencies.native-tls] version = "0.2" optional = true [dependencies.once_cell] version = "1" [dependencies.tar] version = "0.4" optional = true [dependencies.typst] version = "0.12.0" [dependencies.typst-assets] version = "0.12.0" optional = true [dependencies.typst-timing] version = "0.12.0" [dependencies.typst-utils] version = "0.12.0" [dependencies.ureq] version = "2" features = [ "native-tls", "gzip", "json", ] optional = true default-features = false [features] default = [ "fonts", "packages", ] downloads = [ "dep:env_proxy", "dep:native-tls", "dep:ureq", "dep:openssl", ] embed-fonts = [ "fonts", "dep:typst-assets", "typst-assets/fonts", ] fonts = [ "dep:fontdb", "fontdb/memmap", "fontdb/fontconfig", ] packages = [ "downloads", "dep:dirs", "dep:flate2", "dep:tar", ] vendor-openssl = ["openssl/vendored"] [target.'cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios", target_os = "watchos", target_os = "tvos")))'.dependencies.openssl] version = "0.10" optional = true [lints.clippy] blocks_in_conditions = "allow" mutable_key_type = "allow" uninlined_format_args = "warn"