Skip to content

Commit

Permalink
Fix 'no async runtime found' error in examples (#185)
Browse files Browse the repository at this point in the history
Seems quinn now requires you to pick a runtime via its features.
  • Loading branch information
macournoyer authored Apr 4, 2023
1 parent 49301f1 commit c9058fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ futures = "0.3"
h3 = { path = "../h3" }
h3-quinn = { path = "../h3-quinn" }
http = "0.2"
quinn = { version = "0.9", default-features = false, features = ["tls-rustls", "ring"] }
quinn = { version = "0.9", default-features = false, features = ["runtime-tokio", "tls-rustls", "ring"] }
rcgen = { version = "0.10" }
rustls = { version = "0.20", features = ["dangerous_configuration"] }
rustls-native-certs = "0.6"
Expand Down

0 comments on commit c9058fe

Please sign in to comment.