letmein 12.3.0

Authenticated port knocking - Client
Documentation
# 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.88"
name = "letmein"
version = "12.3.0"
authors = ["Michael Büsch <m@bues.ch>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authenticated port knocking - Client"
homepage = "https://bues.ch/h/letmein"
readme = "README.md"
keywords = [
    "port-knocking",
    "port",
    "knock",
    "firewall",
    "nftables",
]
categories = [
    "authentication",
    "network-programming",
    "command-line-utilities",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mbuesch/letmein"

[features]
cli = ["dep:clap"]
default = [
    "cli",
    "hickory-resolver",
]
hickory-resolver = ["dep:hickory-resolver"]
libc-resolver = ["dep:dns-lookup"]

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

[[bin]]
name = "letmein"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "std",
    "help",
    "usage",
    "error-context",
    "derive",
]
optional = true
default-features = false

[dependencies.dns-lookup]
version = "3"
optional = true

[dependencies.hickory-resolver]
version = "0.26"
features = [
    "system-config",
    "tokio",
    "tls-ring",
    "https-ring",
    "quic-ring",
    "webpki-roots",
    "dnssec-ring",
]
optional = true

[dependencies.letmein-conf]
version = "12"

[dependencies.letmein-proto]
version = "12"

[dependencies.libc]
version = "0.2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
    "macros",
    "time",
]

[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.letmein-seccomp]
version = "12"

[lints.clippy]
cargo = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
mem_forget = "warn"
pedantic = "warn"
precedence_bits = "warn"
todo = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unseparated_literal_suffix = "warn"
unused_result_ok = "warn"
unused_trait_names = "warn"

[lints.clippy.default_trait_access]
level = "allow"
priority = 1

[lints.clippy.missing-errors-doc]
level = "allow"
priority = 1

[lints.clippy.missing-panics-doc]
level = "allow"
priority = 1

[lints.clippy.multiple-crate-versions]
level = "allow"
priority = 1

[lints.clippy.similar-names]
level = "allow"
priority = 1

[lints.clippy.struct-excessive-bools]
level = "allow"
priority = 1