[package]
edition = "2021"
rust-version = "1.88.0"
name = "waka-api"
version = "1.0.1"
authors = ["waka contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WakaTime HTTP client library"
homepage = "https://github.com/mouwaficbdr/waka"
documentation = "https://docs.rs/waka-api"
readme = "README.md"
keywords = [
"wakatime",
"cli",
"productivity",
"developer-tools",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/mouwaficbdr/waka"
[lib]
name = "waka_api"
path = "src/lib.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"gzip",
"stream",
"query",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.insta]
version = "1"
features = ["json"]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"