-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
58 lines (48 loc) · 1.28 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "hey_listen"
version = "0.5.0"
license = "ISC"
keywords = ["async" ,"event", "dispatcher", "listener", "emitter", "parallel"]
categories = ["concurrency"]
description = "An event-dispatcher-collection offering async, sync, parallel, and prioritised solutions!"
readme = "README.md"
documentation = "https://docs.rs/hey_listen"
repository = "https://github.com/lakelezz/hey_listen.git"
authors = ["Lakelezz <[email protected]>"]
build = "build.rs"
edition = "2018"
[dependencies]
[dependencies.rayon]
version = "1"
default-features = true
optional = true
[dependencies.parking_lot]
version = "0.11"
default-features = true
optional = true
[dependencies.async-trait]
version = "0.1"
default-features = true
optional = true
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.tokio]
version = "1"
default-features = false
features = ["rt", "macros"]
optional = true
[build-dependencies]
skeptic = "0.13"
[dev-dependencies]
skeptic = "0.13"
[features]
default = ["async", "parallel"]
# Provides a Tokio-driven dispatcher.
async = ["tokio", "futures", "async-trait", "parking_lot"]
# Provides a Rayon-driven dispatcher.
parallel = ["rayon", "parking_lot"]
# Provides a local-Thread-driven dispatcher.
blocking = []
[package.metadata.docs.rs]
all-features = true