dns2socks 0.2.4

Convert DNS requests to SOCKS5 proxy.
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 = "dns2socks"
version = "0.2.4"
authors = ["ssrlive"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert DNS requests to SOCKS5 proxy."
readme = "README.md"
license = "MIT"
repository = "https://github.com/ssrlive/dns2socks"

[lib]
name = "dns2socks_core"
crate-type = [
    "staticlib",
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "dns2socks"
path = "src/bin/dns2socks.rs"

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "wrap_help",
]

[dependencies.ctrlc2]
version = "3.7.3"
features = [
    "async",
    "termination",
]

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.env_logger]
version = "0.11.10"

[dependencies.hickory-proto]
version = "0.26.0"

[dependencies.log]
version = "0.4.29"

[dependencies.moka]
version = "0.12.15"
features = ["future"]
default-features = false

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.rand]
version = "0.10.1"

[dependencies.socks5-impl]
version = "0.8.2"
features = ["client"]
default-features = false

[dependencies.tokio]
version = "1.52.1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7.18"

[dependencies.url]
version = "2.5.8"

[target.'cfg(target_os="android")'.dependencies.android_logger]
version = "0.15.1"

[target.'cfg(target_os="android")'.dependencies.jni]
version = "0.22.4"
default-features = false