typst-pack 0.3.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.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable single-file packs of Typst projects: sources, resources, packages, and fonts"
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/dioxus-typst"

[package.metadata.release]
sign-commit = true
sign-tag = true
shared-version = true
tag-message = "Release {{version}}"
tag-name = "v{{version}}"

[features]
cli = [
    "embedded-fonts",
    "fs",
    "dep:chrono",
    "dep:clap",
    "dep:open",
    "typst-kit/emit-diagnostics",
]
default = [
    "embedded-fonts",
    "fs",
    "cli",
]
embedded-fonts = ["typst-kit/embedded-fonts"]
fs = [
    "dep:walkdir",
    "typst-kit/datetime",
    "typst-kit/scan-fonts",
    "typst-kit/system-downloader",
    "typst-kit/system-files",
]

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

[[bin]]
name = "typst-pack"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
optional = true
default-features = false

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.ecow]
version = "0.2"

[dependencies.open]
version = "5"
optional = true

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

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "1.1"

[dependencies.typst]
version = "=0.15.0"

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

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

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

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

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

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

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

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

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

[profile.dist]
lto = "thin"
inherits = "release"