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 = "tor-rtcompat"
version = "0.0.3"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
description = "Compatibility layer for asynchronous runtimes, used by Tor"
keywords = [ "tor", "arti", "async" ]
categories = [ "asynchronous" ]
repository="https://gitlab.torproject.org/tpo/core/arti.git/"
[features]
default = [ ]
async-std = [ "async-std-crate", "async-io", "async-native-tls" , "async_executors/async_std" ]
tokio = [ "tokio-crate", "tokio-util", "tokio-native-tls", "async_executors/tokio_tp" ]
static = [ "native-tls/vendored" ]
[dependencies]
async_executors = { version = "0.4", default_features = false }
async-trait = "0.1.2"
futures = "0.3"
pin-project = "1"
native-tls = "0.2"
async-std-crate = { package = "async-std", version = "1.7.0", optional = true }
async-io = { version = "1.4.1", optional = true }
async-native-tls = { version = "0.4.0", optional = true }
tokio-crate = { package = "tokio", version = "1.4", optional = true, features = ["rt", "rt-multi-thread", "io-util", "net", "time" ] }
tokio-util = { version = "0.6", features = ["compat"], optional = true }
tokio-native-tls = { version = "0.3.0", optional = true }
|