Cargo Features
[dependencies]
cotton-ssdp = { version = "0.1.0", default-features = false, features = ["std", "sync", "async", "smoltcp"] }
- default = async, smoltcp, std, sync
-
These default features are set whenever
cotton-ssdp
is added without
somewhere in the dependency tree.default-features = false - std default async sync
-
Enables socket2 and uuid, libc, nix, and rand ^0.8, sync of cotton-netif, alloc and std of smoltcp
Affects
refresh_timer::StdTimebase
,udp::std
… - 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
Affects
refresh_timer::SmoltcpTimebase
,udp::smoltcp
…