# 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 = "ttdl"
version = "6.1.0"
authors = ["Vladimir Markelov <vmatroskin@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TTDL - Terminal ToDo List manager"
readme = "intro.md"
keywords = [
    "todotxt",
    "terminal",
    "cli",
    "todo",
    "tasks",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/VladimirMarkelov/ttdl"

[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"

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

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

[dependencies.anyhow]
version = "1"

[dependencies.caseless]
version = "^0.2"

[dependencies.chrono]
version = "^0.4"

[dependencies.dirs]
version = "6"

[dependencies.getopts]
version = "^0.2"

[dependencies.json]
version = "^0.12"

[dependencies.pulldown-cmark]
version = "0.13"
optional = true
default-features = false

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"

[dependencies.serde_derive]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.term_size]
version = "^0.3"

[dependencies.termcolor]
version = "1"

[dependencies.textwrap]
version = "^0.16"

[dependencies.todo_lib]
version = "11"

[dependencies.toml]
version = "1"

[dependencies.unicode-width]
version = "^0.2"

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