[package]
name = "libevent"
version = "0.2.0"
authors = ["Jon Magnuson <jon.magnuson@gmail.com>",
"Grant Elbert <elbe0046@gmail.com>"]
description = "Rust bindings to the libevent async I/O framework"
documentation = "https://docs.rs/libevent"
repository = "https://github.com/jmagnuson/libevent-rs"
readme = "README.md"
license = "MIT/Apache-2.0"
edition = "2021"
categories = ["api-bindings", "asynchronous"]
keywords = ["libevent", "bindings", "async", "io"]
[workspace]
members = ["examples/hello"]
[features]
default = [ "pkgconfig", "openssl", "threading", "buildtime_bindgen" ]
static = [ "libevent-sys/static" ]
pkgconfig = [ "libevent-sys/pkgconfig" ]
bundled = [ "static", "libevent-sys/bundled" ]
buildtime_bindgen = [ "libevent-sys/buildtime_bindgen" ]
openssl = [ "libevent-sys/openssl" ]
openssl_bundled = [ "libevent-sys/openssl_bundled", "threading" ]
threading = [ "libevent-sys/threading" ]
verbose_build = [ "libevent-sys/verbose_build" ]
[dependencies]
bitflags = "2.10"
libevent-sys = { version = "0.4", path = "libevent-sys", default-features = false }