engine/Networking/Cargo.toml
2024-08-23 13:22:09 +02:00

23 lines
705 B
TOML

[package]
name = "networking"
version = "0.1.0"
authors = ["hodasemi <michaelh.95@t-online.de>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
config_handler = { path = "../ConfigHandler" }
anyhow = { workspace = true }
chrono = { workspace = true }
public-ip = { workspace = true, optional = true }
async-std = { workspace = true, optional = true }
if-addrs = { workspace = true, optional = true }
hostname = { workspace = true, optional = true }
trust-dns-resolver = { workspace = true, optional = true }
[features]
local_ip = ["if-addrs"]
public_ip = ["public-ip", "async-std"]
resolve_dns = ["trust-dns-resolver"]