# 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 = "padz"
version = "1.4.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An ergonomic, context-aware scratch pad for the terminal — a good Unix citizen"
readme = "README.md"
keywords = [
    "cli",
    "notes",
    "scratchpad",
    "productivity",
    "terminal",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/arthur-debert/padz"

[package.metadata.deb]
maintainer = "Arthur Debert <debert@gmail.com>"
copyright = "2025-2026, Arthur Debert <debert@gmail.com>"
license-file = [
    "../../LICENSE",
    "0",
]
extended-description = """
padz is a scratch-pad / note-taking CLI that adapts to its context.
Notes are scoped to the current project (via .padz/) or globally, with
automatic discovery, todo tracking, tags, archive/restore, and import/
export. Designed as a good Unix citizen: predictable output, pipes
cleanly, and composes with standard tooling.
"""
section = "utility"
priority = "optional"
depends = "$auto"
assets = [
    [
    "target/release/padz",
    "usr/bin/",
    "755",
],
    [
    "../../README.md",
    "usr/share/doc/padz/README.md",
    "644",
],
    [
    "../../CHANGELOG.md",
    "usr/share/doc/padz/CHANGELOG.md",
    "644",
],
]
maintainer-scripts = "debian/"

[package.metadata.deb.variants.amd64]

[package.metadata.deb.variants.arm64]

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.clap_complete]
version = "4.5"
features = ["unstable-dynamic"]

[dependencies.clapfig]
version = "0.9.2"

[dependencies.console]
version = "0.15"

[dependencies.dark-light]
version = "0.2"

[dependencies.directories]
version = "6.0.0"

[dependencies.once_cell]
version = "1.19"

[dependencies.padzapp]
version = "1.4.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.standout]
version = "6.2.0"

[dependencies.standout-dispatch]
version = "6.2.0"

[dependencies.standout-macros]
version = "6.2.0"

[dependencies.terminal_size]
version = "0.4"

[dependencies.unicode-width]
version = "0.2.2"

[dev-dependencies.assert_cmd]
version = "2.0.16"

[dev-dependencies.predicates]
version = "3.1.2"

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