Cargo Features
ant-networking has no features set by default.
[dependencies]
ant-networking = { version = "0.3.1", features = ["encrypt-records", "local", "loud", "open-metrics", "upnp"] }
- encrypt-records
- local
- loud
- open-metrics = hyper, prometheus-client, sysinfo
- upnp
-
tcp is automatically enabled when compiling for wasm32
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- hyper open-metrics?
-
Enables hyper ^0.14
- prometheus-client open-metrics?
- sysinfo open-metrics?
-
Enables sysinfo ^0.30.8