Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: add types for named Unix pipes #5351

Merged
merged 40 commits into from
Feb 27, 2023
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7339b46
Add early version of Unix pipe
satakuma Jan 3, 2023
8f24da6
remove new()
satakuma Jan 4, 2023
e5fd67c
Add conversion from tokio ChildStd* types
satakuma Jan 4, 2023
ee12955
Add docs for Sender
satakuma Jan 4, 2023
7b12129
Add docs for Receiver
satakuma Jan 4, 2023
a8253fe
Add more tests, fix doc tests
satakuma Jan 4, 2023
d993266
Improve intergration with `process` module
satakuma Jan 4, 2023
9a6399e
Fix cfg macros
satakuma Jan 4, 2023
7b9af67
Add some comments to tests
satakuma Jan 4, 2023
ccb4f18
Add unchecked open variants
satakuma Jan 4, 2023
514fb68
Move from open_unchecked to from_file
satakuma Jan 4, 2023
061853e
Fix from_file
satakuma Jan 4, 2023
d8b8fbb
Merge branch 'master' of https://github.com/tokio-rs/tokio into unix-…
satakuma Jan 4, 2023
716ba87
Improve docs
satakuma Jan 4, 2023
f7a26a5
Document ready methods
satakuma Jan 4, 2023
8412ec2
Change module name
satakuma Jan 4, 2023
42bc5d2
Add try_read_buf
satakuma Jan 5, 2023
8e0c7d8
Remove integration with process
satakuma Jan 5, 2023
d85b341
Improve doc examples
satakuma Jan 5, 2023
60b49ec
fix typos
satakuma Jan 5, 2023
7d9c57f
Merge branch 'master' into unix-pipe
satakuma Jan 5, 2023
682b973
fix macOS CI
satakuma Jan 5, 2023
e15cc9e
add Receiver::open_rw, from_file_unchecked
satakuma Jan 7, 2023
f281433
fix CI
satakuma Jan 7, 2023
263e92a
fix macOS CI
satakuma Jan 7, 2023
b4ad926
remove broken doc link
satakuma Jan 7, 2023
d91860f
move pipe to tokio::io::unix
satakuma Jan 9, 2023
e15c18f
add pipe::OpenOptions builder
satakuma Jan 9, 2023
4409b6a
ignore doctests with linux-only code
satakuma Jan 9, 2023
ce2ea14
fix loom tests compilation
satakuma Jan 9, 2023
1047df0
Merge branch 'master' into unix-pipe
satakuma Jan 15, 2023
143d814
change error kind, improve docs
satakuma Jan 21, 2023
5928a9a
fix broken doc links on BSD
satakuma Jan 21, 2023
3bc43dc
Merge branch 'master' into unix-pipe
satakuma Feb 14, 2023
f634ac2
cover NotFound error kind in the docs
satakuma Feb 14, 2023
a5c2780
Merge branch 'master' into unix-pipe
satakuma Feb 18, 2023
1679462
move pipe to tokio::net::unix
satakuma Feb 18, 2023
19ee40c
fmt
satakuma Feb 18, 2023
a52218d
add send sync tests
satakuma Feb 19, 2023
89e6311
explain the use case of `ready` in docs
satakuma Feb 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions tokio/src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,8 @@ cfg_aio! {
}

cfg_net_unix! {
mod async_fd;

pub mod unix {
//! Asynchronous IO structures specific to Unix-like operating systems.
pub use super::async_fd::{AsyncFd, AsyncFdReadyGuard, AsyncFdReadyMutGuard, TryIoError};
}
/// Asynchronous IO structures specific to Unix-like operating systems.
pub mod unix;
}

cfg_io_std! {
Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions tokio/src/io/unix/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mod async_fd;
pub use async_fd::{AsyncFd, AsyncFdReadyGuard, AsyncFdReadyMutGuard, TryIoError};

pub mod pipe;
Loading