setdns 0.1.1

Temporarily apply and restore system DNS configuration, including global and split DNS.
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"
name = "setdns"
version = "0.1.1"
build = false
exclude = [
    "/test-runner",
    "/AGENTS.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Temporarily apply and restore system DNS configuration, including global and split DNS."
documentation = "https://docs.rs/setdns"
readme = "README.md"
keywords = [
    "dns",
    "resolver",
    "split-dns",
    "systemd-resolved",
    "nrpt",
]
categories = [
    "network-programming",
    "os",
]
license = "MIT"
repository = "https://github.com/AsakuraMizu/setdns"

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

[dependencies.addr]
version = "0.15"
features = ["std"]
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.serde]
version = "1"
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "5"
features = [
    "async-io",
    "blocking-api",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.9"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation-sys]
version = "0.8"

[target.'cfg(target_os = "macos")'.dependencies.system-configuration]
version = "0.7"

[target.'cfg(target_os = "macos")'.dependencies.system-configuration-sys]
version = "0.6"

[target.'cfg(target_os = "windows")'.dependencies.libloading]
version = "0.8"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_NetworkManagement_IpHelper",
    "Win32_NetworkManagement_Ndis",
    "Win32_System_Com",
]

[target.'cfg(target_os = "windows")'.dependencies.windows-registry]
version = "0.6"