-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (53 loc) · 1.38 KB
/
Copy pathCargo.toml
File metadata and controls
59 lines (53 loc) · 1.38 KB
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
59
[package]
name = "fp_rust"
version = "0.3.5"
license = "MIT"
authors = ["JunYi JohnTeee Lee <johnteee@gmail.com>"]
edition = "2021"
rust-version = "1.56"
include = ["src/**/*.rs", "Cargo.toml", "LICENSE", "README.md"]
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 = "passively-maintained"
# docs.rs builds default features only; enable `for_futures` so the async/Rx
# surface (Future/Stream impls, *_as_future, to_future, stream helpers) is
# documented on docs.rs instead of being hidden.
[package.metadata.docs.rs]
features = ["for_futures"]
[lib]
name = "fp_rust"
path = "src/lib.rs"
[features]
default = [
"pure",
# "for_futures",
]
for_futures = [ "futures", "futures-test" ]
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]
futures = { version = "0.3", default-features = false, features = ["thread-pool"], optional = true }
futures-test = { version = "0.3", optional = true }