# 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 = "invoicegen"
version = "0.1.2"
build = false
include = [
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "src/**",
    "templates/**",
    "assets/fonts/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Render invoices from YAML to PDF using Typst."
homepage = "https://github.com/raine/invoicegen"
readme = "README.md"
keywords = [
    "invoice",
    "yaml",
    "pdf",
    "typst",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/raine/invoicegen"

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.comemo]
version = "0.5"

[dependencies.dirs]
version = "6.0"

[dependencies.jiff]
version = "0.2"
features = ["serde"]

[dependencies.rust_decimal]
version = "1.41"
features = ["serde-with-str"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_path_to_error]
version = "0.1.20"

[dependencies.serde_yml]
version = "0.0.12"

[dependencies.thiserror]
version = "2.0"

[dependencies.typst]
version = "0.14.2"

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

[dev-dependencies.rust_decimal_macros]
version = "1.40"
