[package] name = "to-socket-addrs" version = "0.2.1" edition = "2021" authors = [ "Sergey V. Kokorin " ] description = "A small ToSocketAddrs replacement to specify addresses without port" repository = "https://github.com/nvksv/to-socket-addrs/" homepage = "https://github.com/nvksv/to-socket-addrs/" documentation = "https://docs.rs/to-socket-addrs/" readme = "README.md" license = "MIT" keywords = ["tosocketaddrs", "socketaddr"] categories = ["network-programming"] include = [ "**/*.rs", "Cargo.toml", "LICENSE", "README.md", ] [dependencies] maybe-async-cfg = { version = "0.2", features = ["no-debug"] } async-std = { version = "^1.10.0", optional = true } tokio = { version = "^1.19.2", features = ["net", "rt", "macros"], optional = true } [dev-dependencies] async-attributes = "1.1.2" pretty_assertions = "^1.0.0" serial_test = "^0.5.1" [package.metadata.docs.rs] features = ["sync", "async", "tokio"] rustdoc-args = ["--cfg", "docsrs"] [badges.maintenance] status = "actively-developed" [features] default = ["sync"] sync = [] async = ["dep:async-std"] tokio = ["dep:tokio"] test_dns_ipv6 = []