-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (59 loc) · 1.41 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (59 loc) · 1.41 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
60
61
62
63
64
65
66
[package]
name = "byor"
version = "1.0.0"
edition = "2024"
authors = ["Devin Droddy <devin@justdeeevin.dev"]
license = "MIT"
repository = "https://github.com/justdeeevin/byor"
description = "Bring your own runtime!"
readme = "README.md"
keywords = ["agnostic", "runtime", "tokio", "smol", "futures"]
categories = [
"asynchronous",
"concurrency",
"filesystem",
"network-programming",
"rust-patterns",
]
[dependencies]
futures-lite = { version = "2.6.1", default-features = false, features = [
"std",
], optional = true }
tokio = { version = "1.50.0", optional = true, features = [
"sync",
"rt-multi-thread",
"rt",
"fs",
"time",
"net",
"process",
] }
tokio-util = { version = "0.7.18", default-features = false, optional = true, features = [
"rt",
"compat",
] }
tokio-stream = { version = "0.1.18", default-features = false, optional = true, features = [
"sync",
"fs",
"time",
"net",
] }
futures = { version = "0.3.32", default-features = false, optional = true, features = [
"thread-pool",
"executor",
] }
smol = { version = "2.0.2", optional = true }
[features]
default = ["full"]
smol = ["dep:smol"]
tokio = ["dep:tokio", "dep:tokio-stream", "dep:tokio-util"]
futures = ["dep:futures"]
full = ["lock", "channel", "exec", "fs", "time", "net", "process"]
lock = []
channel = ["dep:futures-lite"]
exec = []
local-exec = []
fs = ["dep:futures-lite"]
time = []
net = []
process = ["dep:futures-lite"]