utpm 0.3.0

UTPM is a package manager for local and remote Typst packages. Quickly create and manage projects and templates on your system, and publish them directly to Typst Universe.
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"
name = "utpm"
version = "0.3.0"
authors = ["Thomas Daniel Guy QUEMIN <thomas.quemin@tuta.io>"]
build = "build.rs"
exclude = [
    "/target",
    "/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "UTPM is a package manager for local and remote Typst packages. Quickly create and manage projects and templates on your system, and publish them directly to Typst Universe."
readme = "README.md"
keywords = [
    "typst",
    "packages",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/typst-community/utpm"

[features]
default = ["output_json"]
full_output = [
    "output_json",
    "output_hjson",
    "output_yaml",
]
output_hjson = ["dep:serde-hjson"]
output_json = ["dep:serde_json"]
output_yaml = ["dep:serde_yaml"]

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

[[bin]]
name = "utpm"
path = "src/main.rs"

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

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

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

[dependencies.anyhow]
version = "1.0.98"

[dependencies.clap]
version = "4.5.39"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4.5.51"

[dependencies.dirs]
version = "6.0"

[dependencies.ecow]
version = "0.2"

[dependencies.fmt-derive]
version = "0.1.2"

[dependencies.ignore]
version = "0.4.23"

[dependencies.inquire]
version = "0.7.5"

[dependencies.itertools]
version = "0.14.0"

[dependencies.libz-sys]
version = "=1.1.25"

[dependencies.octocrab]
version = "0.44.1"

[dependencies.once_cell]
version = "1.21.3"

[dependencies.ptree]
version = "0.5.2"

[dependencies.regex]
version = "1.11.1"

[dependencies.reqwest]
version = "0.12.22"
features = ["json"]
optional = false

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

[dependencies.serde-hjson]
version = "1.1.0"
optional = true

[dependencies.serde_json]
version = "1.0.140"
optional = true

[dependencies.serde_yaml]
version = "0.9.34"
optional = true

[dependencies.shadow-rs]
version = "1.1.1"

[dependencies.spdx]
version = "0.10.8"
features = ["text"]

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.45.1"
features = ["full"]

[dependencies.tokio-macros]
version = "2.5.0"

[dependencies.toml]
version = "^0.8.22"
features = ["display"]

[dependencies.toml_edit]
version = "0.23.3"

[dependencies.tracing]
version = "0.1.41"
features = ["attributes"]

[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "fmt",
    "std",
    "json",
]

[dependencies.typst-kit]
version = "0.14.2"

[dependencies.typst-syntax]
version = "0.14.2"

[dependencies.url]
version = "2.5.4"

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

[build-dependencies.shadow-rs]
version = "1.1.1"

[target.aarch64-unknown-linux-gnu.dependencies.native-tls]
version = "0.2"
features = ["vendored"]

[target.x86_64-unknown-linux-gnu.dependencies.native-tls]
version = "0.2"
features = ["vendored"]

[target.x86_64-unknown-linux-musl.dependencies.native-tls]
version = "0.2"
features = ["vendored"]

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
overflow-checks = false
strip = true