Skip to content

Commit

Permalink
fix docs, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaeroxe committed Dec 30, 2022
1 parent 92c89af commit 635334a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "async-io-typed"
version = "1.0.1"
version = "1.0.2"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Adapts any AsyncRead or AsyncWrite type to send serde compatible types"
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ fn bincode_options(size_limit: u64) -> impl Options {
.reject_trailing_bytes()
}

/// Provides the ability to read `serde` compatible types from any type that implements `tokio::io::AsyncRead`.
/// Provides the ability to read `serde` compatible types from any type that implements `futures::io::AsyncRead`.
#[derive(Debug)]
pub struct AsyncReadTyped<R, T: Serialize + DeserializeOwned + Unpin> {
raw: R,
Expand Down Expand Up @@ -380,7 +380,7 @@ enum LenReadMode {
U64,
}

/// Provides the ability to write `serde` compatible types to any type that implements `tokio::io::AsyncWrite`.
/// Provides the ability to write `serde` compatible types to any type that implements `futures::io::AsyncWrite`.
#[derive(Debug)]
pub struct AsyncWriteTyped<W: AsyncWrite + Unpin, T: Serialize + DeserializeOwned + Unpin> {
raw: Option<W>,
Expand Down

0 comments on commit 635334a

Please sign in to comment.