diff options
| author | zirkonya <zirkonya@iridium.lan> | 2026-09-01 09:51:18 +0200 |
|---|---|---|
| committer | zirkonya <zirkonya@iridium.lan> | 2026-09-01 09:51:18 +0200 |
| commit | be62f065a62048b798e8bb2b8e3699bdd5b6d517 (patch) | |
| tree | 8b3f4b05838b5fa34c3ae24e35004343baadf2af /src/lib.rs | |
| parent | fdc02f07cbd1994c1efb057f24a37a96faaa51fa (diff) | |
add proc macros ; benchmark ; example
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -8,11 +8,8 @@ pub mod event; pub mod transport; pub mod types; -#[cfg(feature = "macros")] -pub use zr_protocol_macros as macros; +pub use zr_protocol_macros::Codec; +pub use zr_protocol_macros::Decode; +pub use zr_protocol_macros::Encode; -/// The default buffer length used to allocate chunks -pub(crate) const DEFAULT_BUFFER_LEN: usize = 2048; - -// TODO : rewrite tests -// TODO : benchmark with some client / server example +pub use types::prefix::{CountPrefix, LenPrefixed}; |
