forked from jmagnuson/libevent-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
33 lines (29 loc) · 1.09 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "libevent"
version = "0.1.0"
authors = ["Jon Magnuson <[email protected]>",
"Grant Elbert <[email protected]>"]
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" ]
# features for development
verbose_build = [ "libevent-sys/verbose_build" ]
[dependencies]
bitflags = "1.2"
libevent-sys = { version = "0.2", path = "libevent-sys", default-features = false }