-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathCargo.toml
32 lines (28 loc) · 956 Bytes
/
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
[package]
name = "compio-io"
version = "0.5.0"
description = "IO traits for completion based async IO"
categories = ["asynchronous"]
keywords = ["async", "io"]
edition = { workspace = true }
authors = { workspace = true }
readme = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[dependencies]
compio-buf = { workspace = true, features = ["arrayvec"] }
futures-util = { workspace = true }
paste = { workspace = true }
pin-project-lite = { version = "0.2.14", optional = true }
[dev-dependencies]
compio-runtime = { workspace = true }
# use tokio & futures to show this crate doesn't depend on the compio runtime
tokio = { workspace = true, features = ["macros", "rt"] }
futures-executor = "0.3.30"
[features]
default = []
compat = ["futures-util/io", "dep:pin-project-lite"]
# Nightly features
allocator_api = ["compio-buf/allocator_api"]
read_buf = ["compio-buf/read_buf"]
nightly = ["allocator_api", "read_buf"]