# 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"
rust-version = "1.85"
name = "ddns-a"
version = "0.1.1"
authors = ["doraemonkeys"]
build = false
exclude = [
    "docs/",
    "script/",
    "coverage_output/",
    "target/",
    "tarpaulin.toml",
    ".github/",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight Dynamic DNS client for Windows that monitors IP address changes and notifies external services via webhooks"
homepage = "https://github.com/doraemonkeys/ddns-a"
readme = "README.md"
keywords = [
    "ddns",
    "dns",
    "webhook",
    "network",
    "windows",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/doraemonkeys/ddns-a"

[lib]
name = "ddns_a"
path = "src/lib.rs"

[[bin]]
name = "ddns-a"
path = "src/main.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dirs]
version = "6"

[dependencies.handlebars]
version = "6"

[dependencies.http]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "sync",
    "signal",
    "test-util",
]

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

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2"

[dev-dependencies.tempfile]
version = "3"

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_NetworkManagement_IpHelper",
    "Win32_NetworkManagement_Ndis",
    "Win32_Networking_WinSock",
    "Win32_Foundation",
]

[lints.clippy]
all = "deny"
cognitive_complexity = "deny"
too_many_lines = "deny"

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

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tarpaulin_include)",
    "cfg(tarpaulin)",
]
