typst-pack 0.4.0

Portable single-file packs of Typst projects: sources, resources, packages, and fonts
Documentation
# 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-pack"
version = "0.4.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable single-file packs of Typst projects: sources, resources, packages, and fonts"
homepage = "https://github.com/sagikazarmark/typst-pack"
readme = "README.md"
keywords = [
    "typst",
    "documents",
    "packaging",
    "archive",
    "fonts",
]
categories = [
    "command-line-utilities",
    "text-processing",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sagikazarmark/typst-pack"

[features]
_test-package-download-probe = []
default = []
diagnostics = ["typst-kit/emit-diagnostics"]
embedded-fonts = ["typst-kit/embedded-fonts"]
fs = [
    "dep:env_proxy",
    "dep:ignore",
    "dep:rustls-pemfile",
    "dep:ureq",
    "dep:walkdir",
    "dep:webpki-roots",
    "typst-kit/scan-fonts",
    "typst-kit/system-files",
    "typst-kit/timer",
]
parallel = ["dep:rayon"]

[lib]
name = "typst_pack"
path = "src/lib.rs"

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

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

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

[dependencies.ecow]
version = "0.2"

[dependencies.env_proxy]
version = "0.4"
optional = true

[dependencies.ignore]
version = "0.4"
optional = true

[dependencies.rayon]
version = "1"
optional = true

[dependencies.rustls-pemfile]
version = "2"
optional = true

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

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1.1"

[dependencies.typst]
version = "=0.15.1"

[dependencies.typst-html]
version = "=0.15.1"

[dependencies.typst-kit]
version = "=0.15.1"
features = ["datetime"]
default-features = false

[dependencies.typst-layout]
version = "=0.15.1"

[dependencies.typst-pdf]
version = "=0.15.1"

[dependencies.typst-render]
version = "=0.15.1"

[dependencies.typst-svg]
version = "=0.15.1"

[dependencies.typst-timing]
version = "=0.15.1"

[dependencies.ureq]
version = "2"
features = ["tls"]
optional = true
default-features = false

[dependencies.walkdir]
version = "2"
optional = true

[dependencies.webpki-roots]
version = "1"
optional = true

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

[dev-dependencies.hayro-syntax]
version = "0.7"

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

[dev-dependencies.tiny-skia]
version = "0.12"

[build-dependencies.toml]
version = "1.1"