# 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 = "fbtoggl"
version = "2025.12.2"
authors = ["Stefan Ruzitschka <stefan@icepuma.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal client to interact with track.toggl.com REST api."
readme = "README.md"
keywords = [
    "toggl",
    "track",
    "time-tracking",
    "cli",
    "productivity",
]
license-file = "LICENSE"
repository = "https://github.com/icepuma/fbtoggl"

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.42"
features = [
    "serde",
    "clock",
]

[dependencies.chronoutil]
version = "0.2.7"

[dependencies.clap]
version = "4.5.53"
features = [
    "deprecated",
    "derive",
    "suggestions",
    "color",
    "env",
    "unicode",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.5.61"

[dependencies.colored]
version = "3.0.0"

[dependencies.config]
version = "0.15.19"

[dependencies.dialoguer]
version = "0.12.0"

[dependencies.hhmmss]
version = "0.1.0"

[dependencies.htp]
version = "0.4.2"

[dependencies.humantime]
version = "2.3.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.jackdauer]
version = "0.1.2"

[dependencies.minreq]
version = "2.14.1"
features = [
    "https-rustls-probe",
    "json-using-serde",
    "urlencoding",
]

[dependencies.now]
version = "0.1.3"

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.term-table]
version = "1.4.0"

[dependencies.toml]
version = "0.9.8"

[dependencies.url]
version = "2.5.7"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.xdg]
version = "3.0.0"

[dev-dependencies.ctor]
version = "0.6.1"

[dev-dependencies.env_logger]
version = "0.11.8"

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

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[lints.clippy]
allow_attributes_without_reason = "warn"
arithmetic_side_effects = "warn"
as_conversions = "warn"
cargo_common_metadata = "allow"
expect_used = "warn"
implicit_clone = "warn"
indexing_slicing = "deny"
integer_division = "warn"
missing_docs_in_private_items = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
modulo_arithmetic = "warn"
multiple_crate_versions = "allow"
panic = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
str_to_string = "warn"
unwrap_in_result = "deny"
unwrap_used = "warn"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
