diff options
| author | zirkonya <zirkonya@iridium.lan> | 2026-08-16 14:59:32 +0200 |
|---|---|---|
| committer | zirkonya <zirkonya@iridium.lan> | 2026-08-16 14:59:32 +0200 |
| commit | 7cfd669783c310747debcfca7106e6162f492340 (patch) | |
| tree | decf913fc67c7b03b83cc4900a2fd2b833150caa | |
| parent | 90042cc32f95286692755451aabdc928c315e2ce (diff) | |
remove big_endian feature ; add macros features
| -rw-r--r-- | Cargo.toml | 7 | ||||
| -rw-r--r-- | src/lib.rs | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -4,7 +4,10 @@ version = "0.1.1" edition = "2024" [dependencies] +zr_protocol_macros = { version = "0.1.0", path = "macros", optional = true } [features] -default = ["big_endian"] -big_endian = [] +macros = ["dep:zr_protocol_macros"] + +[workspace] +members = ["macros"] @@ -2,6 +2,8 @@ pub mod codec; pub mod context; pub mod types; +#[cfg(feature = "macros")] pub use zr_protocol_macros as macros; +/// The default buffer length used to allocate chunks pub(crate) const DEFAULT_BUFFER_LEN: usize = 2048; |
