-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (25 loc) · 911 Bytes
/
Cargo.toml
File metadata and controls
30 lines (25 loc) · 911 Bytes
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
[package]
name = "hardy-async"
version = "0.1.0"
edition.workspace = true
description = "Runtime-agnostic async primitives for the Hardy DTN implementation"
[lib]
path = "src/lib.rs"
crate-type = ["rlib"]
[features]
default = ["tokio"]
std = ["time/std", "tracing?/std"]
tokio = ["std", "dep:tokio", "dep:tokio-util"]
[dependencies]
time = { version = "0.3.47", default-features = false }
async-trait = "0.1.89"
tokio = { version = "1.50.0", optional = true, features = ["rt", "macros", "time"] }
tokio-util = { version = "0.7.18", optional = true, features = ["rt"] }
tracing = { version = "0.1.44", default-features = false, optional = true }
spin = "0.10.0"
trace-err = "1.0.0"
# Future runtime support
# smol = ["dep:async-executor", "dep:async-channel"]
# embassy = ["dep:embassy-executor", "dep:embassy-sync", "dep:embassy-time"]
[dev-dependencies]
hardy-async = { path = ".", features = ["tokio"] }