[package]
name = "ttdl"
version = "6.1.0"
authors = ["Vladimir Markelov <vmatroskin@gmail.com>"]
edition = "2024"
keywords = ["todotxt", "terminal", "cli", "todo", "tasks"]
license = "MIT"
description = "TTDL - Terminal ToDo List manager"
readme = "intro.md"
repository = "https://github.com/VladimirMarkelov/ttdl"
categories = ["command-line-utilities"]

[profile.release]
lto = true
strip = "debuginfo"

[dependencies]
todo_lib = "11"
getopts = "^0.2"
chrono = "^0.4"
textwrap = "^0.16"
caseless = "^0.2"
dirs = "6"
toml = "1"
term_size = "^0.3"
termcolor = "1"
serde = "1"
serde_derive = "1"
json = "^0.12"
unicode-width="^0.2"
anyhow = "1"
tempfile = "3"
regex = "1"
pulldown-cmark = { version = "0.13", default-features = false, optional = true }

[features]
default = ["markdown"]
markdown = ["dep:pulldown-cmark"]

[package.metadata.deb]
section = "utility"
depends = "$auto"
priority = "optional"
assets = [
	["target/release/ttdl", "usr/bin/", "755"],
	["LICENSE", "usr/share/doc/ttdl/", "644"],
	["README.md", "usr/share/doc/ttdl/README", "644"],
	["ttdl.toml", "usr/share/doc/ttdl/ttdl.toml", "644"],
]
extended-description = """\
A powerful terminal todo list manager. It keeps the list in todo.txt format.\
"""
changelog = "changelog"
