Skip to content

Commit 0a2b802

Browse files
committed
examples: Integrate tokio-console
1 parent b076795 commit 0a2b802

File tree

16 files changed

+490
-78
lines changed

16 files changed

+490
-78
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[target.'cfg(all())']
2-
rustflags = ["--cfg=web_sys_unstable_apis"]
2+
rustflags = ["--cfg", "tokio_unstable", "--cfg", "web_sys_unstable_apis"]
33

44
[target.wasm32-unknown-unknown]
55
runner = "wasm-bindgen-test-runner"

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/cyclers-http/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ wasm-bindgen-test = { workspace = true, features = ["std"] }
4242

4343
[features]
4444
default = []
45-
tracing = ["dep:tracing", "dep:tracing-futures"]
45+
tracing = ["dep:tracing", "dep:tracing-futures", "tokio/tracing"]
4646

4747
[lints]
4848
workspace = true

crates/cyclers-terminal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tokio = { workspace = true, features = ["macros", "rt"] }
3939

4040
[features]
4141
default = []
42-
tracing = ["dep:tracing", "dep:tracing-futures"]
42+
tracing = ["dep:tracing", "dep:tracing-futures", "tokio/tracing"]
4343

4444
[lints]
4545
workspace = true

crates/cyclers-webrtc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ wasm-bindgen-test = { workspace = true, features = ["std"] }
3535

3636
[features]
3737
default = []
38-
tracing = ["dep:tracing", "dep:tracing-futures"]
38+
tracing = ["dep:tracing", "dep:tracing-futures", "tokio/tracing"]
3939

4040
[lints]
4141
workspace = true

crates/cyclers-webtrans/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ wasm-bindgen-test = { workspace = true, features = ["std"] }
5151
default = []
5252
rustls-aws-lc-rs = ["web-transport-quinn/aws-lc-rs"]
5353
rustls-ring = ["web-transport-quinn/ring"]
54-
tracing = ["dep:tracing", "dep:tracing-futures"]
54+
tracing = ["dep:tracing", "dep:tracing-futures", "tokio/tracing"]
5555

5656
[lints]
5757
workspace = true

0 commit comments

Comments
 (0)