Skip to content

Commit 60e6327

Browse files
committed
Fixed errors.
1 parent 6f6cebc commit 60e6327

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

runtime/swimos_remote/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ bytes = { workspace = true }
1515
flate2 = { workspace = true }
1616
futures = { workspace = true }
1717
http = { workspace = true }
18-
tokio = { workspace = true, features = ["sync"] }
18+
tokio = { workspace = true, features = ["sync", "macros"] }
1919
tokio-util = { workspace = true, features = ["codec"] }
2020
swimos_utilities = { path = "../../swimos_utilities", features = ["io", "buf_channel", "multi_reader"] }
2121
swimos_api = { path = "../../api/swimos_api" }
@@ -39,4 +39,4 @@ tokio-rustls = { workspace = true, optional = true }
3939
rustls-pemfile = { workspace = true, optional = true }
4040

4141
[dev-dependencies]
42-
tokio = { workspace = true, features = ["macros", "rt"] }
42+
tokio = { workspace = true, features = ["rt"] }

runtime/swimos_remote/src/plain.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ use tokio::net::{TcpListener, TcpStream};
2929
use crate::dns::BoxDnsResolver;
3030
use crate::net::{ClientConnections, ConnResult, ListenerResult, ServerConnections};
3131

32-
/// Implementation of [`ExternalConnections`] using [`TcpListener`] and [`TcpStream`] from Tokio.
32+
/// Implementation of [`ServerConnections`] and [`ClientConnections`], using [`TcpListener`]
33+
/// and [`TcpStream`] from Tokio.
3334
#[derive(Debug, Clone)]
3435
pub struct TokioPlainTextNetworking {
3536
resolver: Arc<Resolver>,

0 commit comments

Comments
 (0)