Skip to content

Commit c9058fe

Browse files
authored
Fix 'no async runtime found' error in examples (#185)
Seems quinn now requires you to pick a runtime via its features.
1 parent 49301f1 commit c9058fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ futures = "0.3"
1212
h3 = { path = "../h3" }
1313
h3-quinn = { path = "../h3-quinn" }
1414
http = "0.2"
15-
quinn = { version = "0.9", default-features = false, features = ["tls-rustls", "ring"] }
15+
quinn = { version = "0.9", default-features = false, features = ["runtime-tokio", "tls-rustls", "ring"] }
1616
rcgen = { version = "0.10" }
1717
rustls = { version = "0.20", features = ["dangerous_configuration"] }
1818
rustls-native-certs = "0.6"

0 commit comments

Comments
 (0)