-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
94 lines (85 loc) · 2.12 KB
/
Cargo.toml
File metadata and controls
94 lines (85 loc) · 2.12 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "async-compatibility-layer"
description = "an abstraction layer for using both async-std and tokio"
authors = ["Espresso Systems <hello@espressosys.com>"]
version = "1.2.1"
edition = "2021"
license = "MIT"
[features]
# async_std
profiling = [
"opentelemetry-jaeger",
"tracing-opentelemetry",
"opentelemetry",
"logging-utils",
"opentelemetry-aws",
]
logging-utils = ["tracing-subscriber"]
[dependencies]
async-lock = "3.3"
async-trait = "0.1.79"
color-eyre = "0.6.2"
futures = "0.3.28"
tracing = "0.1.40"
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.17", features = [
"env-filter",
"json",
], optional = true }
opentelemetry = { version = "0.20.0", features = [
"rt-tokio-current-thread",
"metrics",
], optional = true }
tracing-opentelemetry = { version = "0.21.0", optional = true }
opentelemetry-jaeger = { version = "0.19.0", features = [
"full",
"rt-tokio-current-thread",
], optional = true }
opentelemetry-aws = { version = "0.8.0", features = ["trace"], optional = true }
[target.'cfg(async_executor_impl = "tokio")'.dependencies]
console-subscriber = { version = "0.2.0" }
tokio = { version = "1", features = [
"fs",
"io-util",
"io-std",
"macros",
"net",
"parking_lot",
"process",
"rt",
"rt-multi-thread",
"signal",
"sync",
"time",
"tracing",
] }
tokio-stream = { version = "0.1.14" }
[target.'cfg(not(async_executor_impl = "tokio"))'.dependencies]
async-std = { version = "1.12", features = [
"attributes",
"unstable",
]}
[target.'cfg(async_channel_impl = "tokio")'.dependencies]
tokio = { version = "1", features = [
"fs",
"io-util",
"io-std",
"macros",
"net",
"parking_lot",
"process",
"rt",
"rt-multi-thread",
"signal",
"sync",
"time",
"tracing",
] }
tokio-stream = { version = "0.1.14" }
[target.'cfg(not(any(async_channel_impl = "tokio", async_channel_impl = "flume")))'.dependencies]
async-std = { version = "1.12", features = [
"attributes",
"unstable",
]}
[target.'cfg(all(async_channel_impl = "flume"))'.dependencies]
flume = { version = "0.11.0" }