Cargo Features

cotton-ssdp = { version = "0.0.3", default-features = false, features = ["std", "sync", "async"] }
default = async, std, sync

These default features are set whenever cotton-ssdp is added without default-features = false somewhere in the dependency tree.

std default async sync

Enables libc, mock_instant, and nix ^0.26, rand, socket2, and uuid, sync of cotton-netif and std of no-std-net


Makes the library act as a facade to std::net types

Affects cotton-ssdp::refresh_timer

sync default = std

Enables mio, sync of cotton-netif

Affects udp::mio, udp::std

async default = std

Enables futures, futures-util, tokio, and tokio-stream, async of cotton-netif

Affects udp::tokio, udp::std