Cargo Features
[dependencies]
atm0s-media-server = { version = "0.1.4", default-features = false, features = ["embed-samples", "webrtc", "rtmp", "sip", "gateway", "connector", "token_generate"] }
- default = connector, embed-samples, gateway, rtmp, sip, token_generate, webrtc
-
These default features are set whenever
atm0s-media-server
is added without
somewhere in the dependency tree.default-features = false - embed-samples default = rust-embed
-
Affects
gateway::Files
,rtmp::Files
,webrtc::Files
… - webrtc default = transport-webrtc
-
Affects
server::webrtc
… - rtmp default = transport-rtmp
-
Affects
server::rtmp
… - sip default = md5, reqwest, rsip, transport-sip
-
Affects
server::sip
… - gateway default = maxminddb
-
Affects
server::gateway
… - connector default = nats, prost, yaque
-
Affects
server::connector
… - token_generate default
-
Affects
server::token_generate
…
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.