├── .github ├── actions │ └── install-rust │ │ ├── README.md │ │ ├── action.yml │ │ └── main.js └── workflows │ └── main.yml ├── .gitignore ├── .rustfmt.toml ├── CODE_OF_CONDUCT.md ├── COPYRIGHT ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-Apache-2.0_WITH_LLVM-exception ├── LICENSE-MIT ├── ORG_CODE_OF_CONDUCT.md ├── README.md ├── SECURITY.md ├── examples └── hello.rs ├── src ├── borrowed.rs ├── grip.rs ├── lib.rs ├── os │ ├── mod.rs │ ├── rustix.rs │ └── windows │ │ ├── mod.rs │ │ ├── stdio.rs │ │ ├── traits.rs │ │ └── types.rs ├── owned.rs ├── raw.rs └── read_write.rs └── tests ├── api.rs ├── os_pipe.rs └── tcp_stream.rs /.github/actions/install-rust/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/.github/actions/install-rust/README.md -------------------------------------------------------------------------------- /.github/actions/install-rust/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/.github/actions/install-rust/action.yml -------------------------------------------------------------------------------- /.github/actions/install-rust/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/.github/actions/install-rust/main.js -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | Cargo.lock 3 | -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/.rustfmt.toml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /COPYRIGHT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/COPYRIGHT -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-Apache-2.0_WITH_LLVM-exception: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/LICENSE-Apache-2.0_WITH_LLVM-exception -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /ORG_CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/ORG_CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/SECURITY.md -------------------------------------------------------------------------------- /examples/hello.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/examples/hello.rs -------------------------------------------------------------------------------- /src/borrowed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/borrowed.rs -------------------------------------------------------------------------------- /src/grip.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/grip.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/os/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/os/mod.rs -------------------------------------------------------------------------------- /src/os/rustix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/os/rustix.rs -------------------------------------------------------------------------------- /src/os/windows/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/os/windows/mod.rs -------------------------------------------------------------------------------- /src/os/windows/stdio.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/os/windows/stdio.rs -------------------------------------------------------------------------------- /src/os/windows/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/os/windows/traits.rs -------------------------------------------------------------------------------- /src/os/windows/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/os/windows/types.rs -------------------------------------------------------------------------------- /src/owned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/owned.rs -------------------------------------------------------------------------------- /src/raw.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/raw.rs -------------------------------------------------------------------------------- /src/read_write.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/src/read_write.rs -------------------------------------------------------------------------------- /tests/api.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/tests/api.rs -------------------------------------------------------------------------------- /tests/os_pipe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/tests/os_pipe.rs -------------------------------------------------------------------------------- /tests/tcp_stream.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunfishcode/io-extras/HEAD/tests/tcp_stream.rs --------------------------------------------------------------------------------