[package] name = "comodoro" description = "CLI to manage personal time" version = "0.1.2" authors = ["soywod "] edition = "2021" license = "MIT" categories = ["command-line-interface", "command-line-utilities", "network-programming"] keywords = ["cli", "pomodoro", "timer", "client", "server"] homepage = "https://pimalaya.org/" documentation = "https://pimalaya.org/comodoro/cli/latest/" repository = "https://github.com/soywod/comodoro/" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] default = [ "client", # enable the `timer` subcommand to manage timers "server", # enable the `server` subcommand to manage servers "tcp-client", # enable the TCP client "tcp-binder", # enable the TCP binder for the server "hook-command", # enable hook based on shell commands "hook-notify", # enable hooks based on system notifications ] client = ["time-lib/client"] server = ["time-lib/server"] tcp-any = [] tcp-client = ["client", "tcp-any", "time-lib/tcp-client"] tcp-binder = ["server", "tcp-any", "time-lib/tcp-binder"] tcp = ["tcp-client", "tcp-binder"] hook-any = [] hook-command = ["hook-any", "dep:process-lib"] hook-notify = ["hook-any", "dep:notify-rust"] hooks = ["hook-command", "hook-notify"] [dev-dependencies] tempfile = "3.3" [dependencies] anyhow = "1" clap = { version = "4.4", features = ["derive"] } clap_complete = "4.4" clap_mangen = "0.2" convert_case = "0.6" dirs = "5" env_logger = "0.10" log = "0.4" notify-rust = { version = "4", optional = true } process-lib = { version = "=0.4.0", optional = true } serde = "1" shellexpand-utils = "=0.2.0" time-lib = { version = "=0.2.1", default-features = false } tokio = { version = "1.33", default-features = false, features = ["macros", "rt-multi-thread"] } toml = "0.7" [target.'cfg(not(windows))'.dependencies] coredump = "0.1"