├── .editorconfig ├── .github └── workflows │ ├── ci.yaml │ └── docs.yaml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── assets ├── .gitignore ├── LICENSE ├── export.sh ├── logo.inkscape.svg ├── logo.transparent.svg └── repo.banner.png ├── benches ├── Cargo.toml ├── recv.rs └── send.rs ├── bin ├── channels-publish └── requirements.txt ├── channels-io ├── Cargo.toml ├── LICENSE ├── README.md ├── build.rs └── src │ ├── buf │ ├── buf.rs │ ├── buf_mut.rs │ ├── chain.rs │ ├── cursor.rs │ ├── limit.rs │ ├── mod.rs │ └── take.rs │ ├── convert.rs │ ├── error.rs │ ├── framed │ ├── decoder.rs │ ├── encoder.rs │ ├── framed_read.rs │ ├── framed_write.rs │ └── mod.rs │ ├── impls │ ├── core2.rs │ ├── embedded_io.rs │ ├── futures.rs │ ├── mod.rs │ ├── native.rs │ ├── smol.rs │ ├── std.rs │ └── tokio.rs │ ├── lib.rs │ ├── read │ ├── mod.rs │ ├── read_buf.rs │ └── read_buf_all.rs │ ├── sink │ ├── feed.rs │ ├── flush.rs │ ├── mod.rs │ ├── ready.rs │ └── send.rs │ ├── source │ ├── mod.rs │ └── next.rs │ ├── transaction │ ├── buffered.rs │ ├── mod.rs │ ├── unbuffered.rs │ ├── write_kind.rs │ └── write_transaction.rs │ ├── util.rs │ └── write │ ├── flush.rs │ ├── mod.rs │ ├── write_buf.rs │ └── write_buf_all.rs ├── channels-macros ├── Cargo.toml ├── LICENSE ├── README.md └── src │ ├── lib.rs │ ├── replace │ ├── mod.rs │ └── translate.rs │ └── util.rs ├── channels-packet ├── Cargo.toml ├── LICENSE ├── README.md ├── benches │ └── header.rs ├── build.rs └── src │ ├── checksum.rs │ ├── flags.rs │ ├── frame.rs │ ├── header.rs │ ├── lib.rs │ ├── payload.rs │ ├── seq.rs │ ├── util.rs │ └── wants.rs ├── channels-serdes ├── Cargo.toml ├── LICENSE ├── README.md ├── build.rs └── src │ ├── aead.rs │ ├── bincode.rs │ ├── borsh.rs │ ├── cbor.rs │ ├── crc.rs │ ├── deflate.rs │ ├── hmac.rs │ ├── json.rs │ ├── lib.rs │ └── util.rs ├── channels ├── Cargo.toml ├── LICENSE ├── README.md ├── build.rs └── src │ ├── error.rs │ ├── lib.rs │ ├── receiver │ ├── config.rs │ ├── decoder.rs │ └── mod.rs │ ├── sender │ ├── config.rs │ ├── encoder.rs │ └── mod.rs │ ├── statistics.rs │ └── util.rs ├── clippy.toml ├── default.nix ├── examples ├── Cargo.toml ├── chat-app │ ├── Cargo.toml │ └── src │ │ ├── common.rs │ │ ├── connect.rs │ │ ├── main.rs │ │ ├── misc.rs │ │ └── serve.rs ├── embedded │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── net.rs │ │ ├── record.rs │ │ └── serdes.rs ├── stdio │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── tcp_async_client.rs ├── tcp_async_server.rs ├── tcp_echo_client.rs └── tcp_echo_server.rs ├── flake.lock ├── flake.nix ├── justfile ├── perf ├── Cargo.toml └── src │ ├── bin │ ├── recv.rs │ └── send.rs │ └── lib.rs ├── rust-toolchain.toml ├── rustfmt.toml ├── shell.nix ├── spec ├── .gitignore ├── PROTOCOL.md └── assets │ ├── packet-diagram-dark.svg │ ├── packet-diagram-light.svg │ └── packet-diagram.drawio ├── stress-tests ├── Cargo.toml ├── src │ ├── lib.rs │ └── units.rs └── tests │ ├── async_with_sync.rs │ ├── big_data.rs │ ├── in_memory.rs │ └── transport.rs └── tests-integration ├── Cargo.toml └── tests └── conformance.rs /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/.github/workflows/docs.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/README.md -------------------------------------------------------------------------------- /assets/.gitignore: -------------------------------------------------------------------------------- 1 | /out 2 | -------------------------------------------------------------------------------- /assets/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/assets/LICENSE -------------------------------------------------------------------------------- /assets/export.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/assets/export.sh -------------------------------------------------------------------------------- /assets/logo.inkscape.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/assets/logo.inkscape.svg -------------------------------------------------------------------------------- /assets/logo.transparent.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/assets/logo.transparent.svg -------------------------------------------------------------------------------- /assets/repo.banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/assets/repo.banner.png -------------------------------------------------------------------------------- /benches/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/benches/Cargo.toml -------------------------------------------------------------------------------- /benches/recv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/benches/recv.rs -------------------------------------------------------------------------------- /benches/send.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/benches/send.rs -------------------------------------------------------------------------------- /bin/channels-publish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/bin/channels-publish -------------------------------------------------------------------------------- /bin/requirements.txt: -------------------------------------------------------------------------------- 1 | colorama 2 | -------------------------------------------------------------------------------- /channels-io/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/Cargo.toml -------------------------------------------------------------------------------- /channels-io/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /channels-io/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/README.md -------------------------------------------------------------------------------- /channels-io/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/build.rs -------------------------------------------------------------------------------- /channels-io/src/buf/buf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/buf/buf.rs -------------------------------------------------------------------------------- /channels-io/src/buf/buf_mut.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/buf/buf_mut.rs -------------------------------------------------------------------------------- /channels-io/src/buf/chain.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/buf/chain.rs -------------------------------------------------------------------------------- /channels-io/src/buf/cursor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/buf/cursor.rs -------------------------------------------------------------------------------- /channels-io/src/buf/limit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/buf/limit.rs -------------------------------------------------------------------------------- /channels-io/src/buf/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/buf/mod.rs -------------------------------------------------------------------------------- /channels-io/src/buf/take.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/buf/take.rs -------------------------------------------------------------------------------- /channels-io/src/convert.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/convert.rs -------------------------------------------------------------------------------- /channels-io/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/error.rs -------------------------------------------------------------------------------- /channels-io/src/framed/decoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/framed/decoder.rs -------------------------------------------------------------------------------- /channels-io/src/framed/encoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/framed/encoder.rs -------------------------------------------------------------------------------- /channels-io/src/framed/framed_read.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/framed/framed_read.rs -------------------------------------------------------------------------------- /channels-io/src/framed/framed_write.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/framed/framed_write.rs -------------------------------------------------------------------------------- /channels-io/src/framed/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/framed/mod.rs -------------------------------------------------------------------------------- /channels-io/src/impls/core2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/core2.rs -------------------------------------------------------------------------------- /channels-io/src/impls/embedded_io.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/embedded_io.rs -------------------------------------------------------------------------------- /channels-io/src/impls/futures.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/futures.rs -------------------------------------------------------------------------------- /channels-io/src/impls/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/mod.rs -------------------------------------------------------------------------------- /channels-io/src/impls/native.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/native.rs -------------------------------------------------------------------------------- /channels-io/src/impls/smol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/smol.rs -------------------------------------------------------------------------------- /channels-io/src/impls/std.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/std.rs -------------------------------------------------------------------------------- /channels-io/src/impls/tokio.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/impls/tokio.rs -------------------------------------------------------------------------------- /channels-io/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/lib.rs -------------------------------------------------------------------------------- /channels-io/src/read/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/read/mod.rs -------------------------------------------------------------------------------- /channels-io/src/read/read_buf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/read/read_buf.rs -------------------------------------------------------------------------------- /channels-io/src/read/read_buf_all.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/read/read_buf_all.rs -------------------------------------------------------------------------------- /channels-io/src/sink/feed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/sink/feed.rs -------------------------------------------------------------------------------- /channels-io/src/sink/flush.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/sink/flush.rs -------------------------------------------------------------------------------- /channels-io/src/sink/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/sink/mod.rs -------------------------------------------------------------------------------- /channels-io/src/sink/ready.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/sink/ready.rs -------------------------------------------------------------------------------- /channels-io/src/sink/send.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/sink/send.rs -------------------------------------------------------------------------------- /channels-io/src/source/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/source/mod.rs -------------------------------------------------------------------------------- /channels-io/src/source/next.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/source/next.rs -------------------------------------------------------------------------------- /channels-io/src/transaction/buffered.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/transaction/buffered.rs -------------------------------------------------------------------------------- /channels-io/src/transaction/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/transaction/mod.rs -------------------------------------------------------------------------------- /channels-io/src/transaction/unbuffered.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/transaction/unbuffered.rs -------------------------------------------------------------------------------- /channels-io/src/transaction/write_kind.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/transaction/write_kind.rs -------------------------------------------------------------------------------- /channels-io/src/transaction/write_transaction.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/transaction/write_transaction.rs -------------------------------------------------------------------------------- /channels-io/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/util.rs -------------------------------------------------------------------------------- /channels-io/src/write/flush.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/write/flush.rs -------------------------------------------------------------------------------- /channels-io/src/write/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/write/mod.rs -------------------------------------------------------------------------------- /channels-io/src/write/write_buf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/write/write_buf.rs -------------------------------------------------------------------------------- /channels-io/src/write/write_buf_all.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-io/src/write/write_buf_all.rs -------------------------------------------------------------------------------- /channels-macros/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-macros/Cargo.toml -------------------------------------------------------------------------------- /channels-macros/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /channels-macros/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-macros/README.md -------------------------------------------------------------------------------- /channels-macros/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-macros/src/lib.rs -------------------------------------------------------------------------------- /channels-macros/src/replace/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-macros/src/replace/mod.rs -------------------------------------------------------------------------------- /channels-macros/src/replace/translate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-macros/src/replace/translate.rs -------------------------------------------------------------------------------- /channels-macros/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-macros/src/util.rs -------------------------------------------------------------------------------- /channels-packet/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/Cargo.toml -------------------------------------------------------------------------------- /channels-packet/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /channels-packet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/README.md -------------------------------------------------------------------------------- /channels-packet/benches/header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/benches/header.rs -------------------------------------------------------------------------------- /channels-packet/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/build.rs -------------------------------------------------------------------------------- /channels-packet/src/checksum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/checksum.rs -------------------------------------------------------------------------------- /channels-packet/src/flags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/flags.rs -------------------------------------------------------------------------------- /channels-packet/src/frame.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/frame.rs -------------------------------------------------------------------------------- /channels-packet/src/header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/header.rs -------------------------------------------------------------------------------- /channels-packet/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/lib.rs -------------------------------------------------------------------------------- /channels-packet/src/payload.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/payload.rs -------------------------------------------------------------------------------- /channels-packet/src/seq.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/seq.rs -------------------------------------------------------------------------------- /channels-packet/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/util.rs -------------------------------------------------------------------------------- /channels-packet/src/wants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-packet/src/wants.rs -------------------------------------------------------------------------------- /channels-serdes/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/Cargo.toml -------------------------------------------------------------------------------- /channels-serdes/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /channels-serdes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/README.md -------------------------------------------------------------------------------- /channels-serdes/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/build.rs -------------------------------------------------------------------------------- /channels-serdes/src/aead.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/aead.rs -------------------------------------------------------------------------------- /channels-serdes/src/bincode.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/bincode.rs -------------------------------------------------------------------------------- /channels-serdes/src/borsh.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/borsh.rs -------------------------------------------------------------------------------- /channels-serdes/src/cbor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/cbor.rs -------------------------------------------------------------------------------- /channels-serdes/src/crc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/crc.rs -------------------------------------------------------------------------------- /channels-serdes/src/deflate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/deflate.rs -------------------------------------------------------------------------------- /channels-serdes/src/hmac.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/hmac.rs -------------------------------------------------------------------------------- /channels-serdes/src/json.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/json.rs -------------------------------------------------------------------------------- /channels-serdes/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/lib.rs -------------------------------------------------------------------------------- /channels-serdes/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels-serdes/src/util.rs -------------------------------------------------------------------------------- /channels/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/Cargo.toml -------------------------------------------------------------------------------- /channels/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /channels/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /channels/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/build.rs -------------------------------------------------------------------------------- /channels/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/error.rs -------------------------------------------------------------------------------- /channels/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/lib.rs -------------------------------------------------------------------------------- /channels/src/receiver/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/receiver/config.rs -------------------------------------------------------------------------------- /channels/src/receiver/decoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/receiver/decoder.rs -------------------------------------------------------------------------------- /channels/src/receiver/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/receiver/mod.rs -------------------------------------------------------------------------------- /channels/src/sender/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/sender/config.rs -------------------------------------------------------------------------------- /channels/src/sender/encoder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/sender/encoder.rs -------------------------------------------------------------------------------- /channels/src/sender/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/sender/mod.rs -------------------------------------------------------------------------------- /channels/src/statistics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/statistics.rs -------------------------------------------------------------------------------- /channels/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/channels/src/util.rs -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/clippy.toml -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/default.nix -------------------------------------------------------------------------------- /examples/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/Cargo.toml -------------------------------------------------------------------------------- /examples/chat-app/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/chat-app/Cargo.toml -------------------------------------------------------------------------------- /examples/chat-app/src/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/chat-app/src/common.rs -------------------------------------------------------------------------------- /examples/chat-app/src/connect.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/chat-app/src/connect.rs -------------------------------------------------------------------------------- /examples/chat-app/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/chat-app/src/main.rs -------------------------------------------------------------------------------- /examples/chat-app/src/misc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/chat-app/src/misc.rs -------------------------------------------------------------------------------- /examples/chat-app/src/serve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/chat-app/src/serve.rs -------------------------------------------------------------------------------- /examples/embedded/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/embedded/Cargo.toml -------------------------------------------------------------------------------- /examples/embedded/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/embedded/src/lib.rs -------------------------------------------------------------------------------- /examples/embedded/src/net.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/embedded/src/net.rs -------------------------------------------------------------------------------- /examples/embedded/src/record.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/embedded/src/record.rs -------------------------------------------------------------------------------- /examples/embedded/src/serdes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/embedded/src/serdes.rs -------------------------------------------------------------------------------- /examples/stdio/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/stdio/Cargo.toml -------------------------------------------------------------------------------- /examples/stdio/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/stdio/src/main.rs -------------------------------------------------------------------------------- /examples/tcp_async_client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/tcp_async_client.rs -------------------------------------------------------------------------------- /examples/tcp_async_server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/tcp_async_server.rs -------------------------------------------------------------------------------- /examples/tcp_echo_client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/tcp_echo_client.rs -------------------------------------------------------------------------------- /examples/tcp_echo_server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/examples/tcp_echo_server.rs -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/flake.nix -------------------------------------------------------------------------------- /justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/justfile -------------------------------------------------------------------------------- /perf/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/perf/Cargo.toml -------------------------------------------------------------------------------- /perf/src/bin/recv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/perf/src/bin/recv.rs -------------------------------------------------------------------------------- /perf/src/bin/send.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/perf/src/bin/send.rs -------------------------------------------------------------------------------- /perf/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/perf/src/lib.rs -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/rust-toolchain.toml -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/shell.nix -------------------------------------------------------------------------------- /spec/.gitignore: -------------------------------------------------------------------------------- 1 | /.trash 2 | /.obsidian 3 | -------------------------------------------------------------------------------- /spec/PROTOCOL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/spec/PROTOCOL.md -------------------------------------------------------------------------------- /spec/assets/packet-diagram-dark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/spec/assets/packet-diagram-dark.svg -------------------------------------------------------------------------------- /spec/assets/packet-diagram-light.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/spec/assets/packet-diagram-light.svg -------------------------------------------------------------------------------- /spec/assets/packet-diagram.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/spec/assets/packet-diagram.drawio -------------------------------------------------------------------------------- /stress-tests/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/stress-tests/Cargo.toml -------------------------------------------------------------------------------- /stress-tests/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/stress-tests/src/lib.rs -------------------------------------------------------------------------------- /stress-tests/src/units.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/stress-tests/src/units.rs -------------------------------------------------------------------------------- /stress-tests/tests/async_with_sync.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/stress-tests/tests/async_with_sync.rs -------------------------------------------------------------------------------- /stress-tests/tests/big_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/stress-tests/tests/big_data.rs -------------------------------------------------------------------------------- /stress-tests/tests/in_memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/stress-tests/tests/in_memory.rs -------------------------------------------------------------------------------- /stress-tests/tests/transport.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/stress-tests/tests/transport.rs -------------------------------------------------------------------------------- /tests-integration/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/tests-integration/Cargo.toml -------------------------------------------------------------------------------- /tests-integration/tests/conformance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/threadexio/channels-rs/HEAD/tests-integration/tests/conformance.rs --------------------------------------------------------------------------------