# 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.94.1"
name = "geiserx_ts_control_serde"
version = "0.37.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "serde data types for tailscale control comms"
readme = "README.md"
keywords = [
    "tailscale",
    "serde",
    "control",
]
categories = [
    "encoding",
    "api-bindings",
]
license = "BSD-3-Clause"
repository = "https://github.com/GeiserX/tailscale-rs"

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

[[test]]
name = "parsing_tests"
path = "tests/parsing_tests.rs"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]
default-features = false

[dependencies.ipnet]
version = "2.12"
features = ["serde"]
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["raw_value"]

[dependencies.serde_repr]
version = "0.1"

[dependencies.serde_with]
version = "3"

[dependencies.ts_capabilityversion]
version = "0.37.2"
features = ["serde"]
package = "geiserx_ts_capabilityversion"

[dependencies.ts_keys]
version = "0.37.2"
features = ["serde"]
package = "geiserx_ts_keys"

[dependencies.ts_nodecapability]
version = "0.37.2"
features = ["serde"]
package = "geiserx_ts_nodecapability"

[dependencies.ts_packetfilter_serde]
version = "0.37.2"
package = "geiserx_ts_packetfilter_serde"

[dependencies.url]
version = "2"
features = ["serde"]
default-features = false

[lints.clippy]
multiple_crate_versions = "allow"
too_many_arguments = "allow"

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

[lints.rust]
closure_returning_async_block = "warn"
let-underscore = "warn"
missing_docs = "warn"

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
private_intra_doc_links = "deny"
