[package]
edition = "2021"
name = "uni-stream"
version = "0.3.3"
authors = ["LB7666 <acking-you@foxmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides universal stream for TCP and UDP traffic and custom DNS resolution service"
readme = "README.md"
keywords = [
"stream",
"udp",
"tcp",
"ip",
"dns",
]
license = "MIT"
repository = "https://github.com/acking-you/uni-stream"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["udp-timeout"]
udp-timeout = []
[lib]
name = "uni_stream"
path = "src/lib.rs"
[[example]]
name = "dns"
path = "examples/dns.rs"
[[example]]
name = "echo_client"
path = "examples/echo_client.rs"
[[example]]
name = "echo_server"
path = "examples/echo_server.rs"
[[example]]
name = "udp_datagram_echo"
path = "examples/udp_datagram_echo.rs"
[dependencies.bytes]
version = "1.11.0"
[dependencies.futures]
version = "0.3.30"
[dependencies.hashbrown]
version = "0.16"
[dependencies.hickory-resolver]
version = "0.26.0-alpha.1"
[dependencies.kanal-plus]
version = "0.2.0"
[dependencies.once_cell]
version = "1.18.0"
[dependencies.socket2]
version = "0.6.0"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"net",
"macros",
"io-util",
"time",
]
[dependencies.tracing]
version = "0.1.40"