# 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_python"
version = "0.28.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pyo3-based python bindings for tailscale"
readme = "README.md"
keywords = [
    "tailscale",
    "python",
    "bindings",
    "pyo3",
]
categories = [
    "api-bindings",
    "network-programming",
]
license = "BSD-3-Clause"
repository = "https://github.com/GeiserX/tailscale-rs"

[lib]
name = "tailscale"
crate-type = ["cdylib"]
path = "src/lib.rs"
doc = false

[dependencies.hex]
version = "0.4"

[dependencies.pyo3]
version = "0.28"
features = [
    "bytes",
    "abi3-py312",
]

[dependencies.pyo3-async-runtimes]
version = "0.28"
features = [
    "tokio-runtime",
    "attributes",
]

[dependencies.tailscale]
version = "0.28.2"
package = "geiserx_tailscale"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "io-util",
]
default-features = false

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

[dependencies.ts_control]
version = "0.28.2"
package = "geiserx_ts_control"

[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"
