# 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"
name = "invoice-cli"
version = "0.5.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Beautiful invoices from the CLI — international, stateful, agent-friendly"
readme = "README.md"
keywords = [
    "invoice",
    "billing",
    "typst",
    "pdf",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/paperfoot/invoice-cli"

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

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

[[example]]
name = "qr_matrix"
path = "examples/qr_matrix.rs"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.finance-core]
version = "0.3"

[dependencies.qrcode]
version = "0.14"
default-features = false

[dependencies.rusqlite]
version = "0.33"
features = [
    "bundled",
    "chrono",
]

[dependencies.rust-embed]
version = "8"

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

[dependencies.rust_decimal_macros]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
