# 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 = "rememberthemilk"
version = "0.4.0"
authors = ["Chris Emerson <github@mail.nosreme.org>"]
description = "Client library for the Remember The Milk todo list service."
homepage = "https://github.com/jugglerchris/rememberthemilk-rs"
readme = "README.md"
keywords = [
    "todo",
    "rememberthemilk",
]
categories = [
    "api-bindings",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/jugglerchris/rememberthemilk-rs"

[[bin]]
name = "rtm"

[dependencies.anyhow]
version = "1.0"

[dependencies.atty]
version = "0.2"

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

[dependencies.confy]
version = "0.5.1"

[dependencies.crossterm]
version = "0.27"
features = ["event-stream"]
optional = true

[dependencies.env_logger]
version = "0.10.0"

[dependencies.log]
version = "0.4.17"

[dependencies.md5]
version = "0.7"

[dependencies.ratatui]
version = "0.25"
optional = true

[dependencies.reqwest]
version = "0.11"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.structopt]
version = "0.3"

[dependencies.termcolor]
version = "1.4"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tokio-stream]
version = "0.1.12"

[dependencies.tui-tree-widget]
version = "0.16"
optional = true

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

[dev-dependencies.mockito]
version = "1.2"

[features]
default = ["tui"]
tui = [
    "dep:ratatui",
    "dep:tui-tree-widget",
    "dep:crossterm",
]
