-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
54 lines (49 loc) · 1.2 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
[package]
name = "fp_rust"
version = "0.3.5"
license = "MIT"
authors = ["JunYi JohnTeee Lee <[email protected]>"]
edition = "2018"
include = ["src/**/*.rs", "Cargo.toml"]
readme = "README.md"
description = "Implement fp features for Rust"
documentation = "https://docs.rs/fp_rust/"
homepage = "https://github.com/TeaEntityLab/fpRust"
repository = "https://github.com/TeaEntityLab/fpRust"
keywords = ["functional","rx","monad","optional","pubsub"]
[badges.maintenance]
status = "actively-developed"
[lib]
name = "fp_rust"
path = "src/lib.rs"
[features]
default = [
"pure",
# "for_futures",
]
for_futures = [ "futures", "futures-test" ]
# for_futures = [ "futures", "tokio" ]
pure = [
"fp",
"maybe",
"sync",
"cor",
"actor",
"handler",
"monadio",
"publisher",
]
fp = [ ]
maybe = [ ]
sync = [ ]
cor = [ ]
actor = [ "sync" ]
handler = [ "sync" ]
monadio = [ "sync", "handler" ]
publisher = [ "sync", "handler" ]
# For test
test_runtime = [ "pure", "for_futures" ]
[dependencies]
# tokio = { version = "^1.9.0", features = ["full"], optional = true }
futures = { version = "0.3", default-features = false, features = ["thread-pool"], optional = true }
futures-test = { version = "0.3", optional = true }