Cargo Features

[dependencies]
cotton-ssdp = { version = "0.0.4", default-features = false, features = ["std", "sync", "async", "smoltcp"] }
default = async, smoltcp, 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 rand, libc and nix, socket2 and uuid, sync of cotton-netif, alloc and std of smoltcp ^0.11 and std of no-std-net

no-std-net:

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

Affects refresh_timer::StdTimebase

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

smoltcp default std

Enables smoltcp ^0.11

Affects refresh_timer::SmoltcpTimebase, udp::smoltcp