Cargo Features
[dependencies]
srtp = { version = "0.7.0", default-features = false, features = ["skip-linking", "build-libsrtp", "enable-openssl", "build-openssl", "bytes", "log"] }
- default = build-libsrtp, bytes, enable-openssl, log
-
These default features are set whenever
srtp
is added without
somewhere in the dependency tree.default-features = false - skip-linking
-
Enables skip-linking of srtp2-sys
- build-libsrtp default
- enable-openssl default build-openssl? = openssl
-
Enables enable-openssl of srtp2-sys
- build-openssl = enable-openssl
-
Enables build-openssl of srtp2-sys
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.
- bytes default
-
Enables bytes ^0.6
- log default
- openssl enable-openssl
-
Affects
srtp::openssl
…