summaryrefslogtreecommitdiff
path: root/crates/futures-copy/Cargo.toml
blob: cfe897283129afe6e4da4946bc94a35626247c4f (plain)
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
[package]
name = "futures-copy"
version = "0.3.1"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Copy data between AsyncRead and AsyncWrite, with bidirectional and flushing support"
keywords = ["futures", "tor", "arti"]
# We must put *something* here and this will do
categories = ["rust-patterns", "network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[features]
full = []

[dependencies]
futures = "0.3.14"
pin-project = "1"

[dev-dependencies]
tokio = { version = "1.7", features = ["macros", "net", "rt", "rt-multi-thread", "time"] }
tor-error = { path = "../tor-error", version = "0.43.0" }
tor-rtcompat = { version = "0.43.0", path = "../tor-rtcompat" }
tor-rtmock = { path = "../tor-rtmock", version = "0.43.0" }

[package.metadata.docs.rs]
all-features = true

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = ["Win32_Networking_WinSock"] }