[package] name = "happy-eyeballs" version = "0.2.1" edition = "2021" authors = ["Kim Minh Kaplan "] description = "Library that implements Happy Eyeballs, a technique that maintains good user experience even when IPv4 or IPv6 connectivity is defective" readme = "README.md" documentation = "https://docs.rs/happy-eyeballs" repository = "https://codeberg.org/KMK/happy-eyeballs" license = "0BSD" keywords = ["networking", "ipv4", "ipv6", "happy-eyeballs"] categories = ["network-programming"] [dependencies] libc = { version = "0.2", optional = true } polling = { version = "2", optional = true } async-std = { version = "1", optional = true } tokio = { version = "1", features = ["io-util", "macros", "net", "rt", "time"], optional = true } socket2 = { version = "0.5.1", optional = true } [dev-dependencies] async-std = { version = "1", features = ["attributes"] } rand = "0.8" [doc-dependencies] async-std = { version = "1", features = ["attributes"] } [features] default = ["std-net"] std-net = ["libc", "polling", "socket2"]