[package]
edition = "2021"
rust-version = "1.70"
name = "task2habitica"
version = "0.3.0"
authors = ["Victor Genaev <vgenaev@gmail.com>"]
build = false
exclude = [
".github/",
"INSTALL.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sync Taskwarrior tasks with Habitica"
readme = "README.md"
keywords = [
"taskwarrior",
"habitica",
"productivity",
"sync",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/mainframev/task2habitica-rs"
[lib]
name = "task2habitica"
path = "src/lib.rs"
[[bin]]
name = "task2habitica"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.4"
features = ["derive"]
[dependencies.dialoguer]
version = "0.11"
[dependencies.dirs]
version = "5.0"
[dependencies.reqwest]
version = "0.11"
features = [
"json",
"blocking",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.uuid]
version = "1.6"
features = [
"serde",
"v4",
]
[dev-dependencies.mockito]
version = "1.2"
[dev-dependencies.tempfile]
version = "3.8"
[lints.clippy]
assigning_clones = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
enum_glob_use = "deny"
float_cmp = "allow"
ignore_without_reason = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
no_effect_underscore_binding = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_clone = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unused_self = "allow"
unwrap_used = "warn"
use_self = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true