Cargo Features

[dependencies]
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 ^0.3, and nix ^0.26, rand, socket2, and uuid, sync of cotton-netif and std of no-std-net

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