# -*- coding: utf-8 -*-

[package]
name = "letmein"
description = "Authenticated port knocking - Client"
version = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
license = { workspace = true }
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
readme = { workspace = true }
categories = { workspace = true }
keywords = { workspace = true }

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

[[bin]]
name = "letmein"
required-features = [ "cli" ]

[dependencies]
anyhow = { workspace = true }
clap = { workspace = true, optional = true }
dns-lookup = { workspace = true, optional = true }
hickory-resolver = { workspace = true, optional = true, features = [ "system-config", "tokio", "tls-ring", "https-ring", "quic-ring", "webpki-roots", "dnssec-ring" ] }
letmein-conf = { workspace = true }
letmein-proto = { workspace = true }
libc = { workspace = true }
tokio = { workspace = true, features = [ "rt", "net", "macros", "time", ] }

[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
letmein-seccomp = { workspace = true }

[lints]
workspace = true

# vim: ts=4 sw=4 expandtab
