Cargo Features
[dependencies]
libevent-sys = { version = "0.3.0", default-features = false, features = ["static", "pkgconfig", "bundled", "buildtime_bindgen", "openssl", "openssl_bundled", "threading", "verbose_build"] }
- default = buildtime_bindgen, openssl, pkgconfig, threading
-
These default features are set whenever
libevent-sys
is added without
somewhere in the dependency tree.default-features = false - static bundled?
- pkgconfig default = pkg-config
- bundled = cmake, static
- buildtime_bindgen default = bindgen
- openssl default = openssl-sys
- openssl_bundled = threading
-
Enables vendored of openssl-sys
- threading default openssl_bundled?
- verbose_build
-
features for development
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.
- bindgen build buildtime_bindgen
-
Enables bindgen ^0.64
- cmake build bundled?
- pkg-config build pkgconfig
- openssl-sys openssl openssl_bundled?