diff options
author | Kablersalat <crt@adastra7.net> | 2025-06-05 00:14:27 +0200 |
---|---|---|
committer | Kablersalat <crt@adastra7.net> | 2025-06-05 00:14:27 +0200 |
commit | a0c754fc727a35d775c25857898986f4273db0a5 (patch) | |
tree | 4129d20013ff0a9b80051c0d9a74484cd753b633 /src/lib.rs | |
parent | fd956fde0ba92b4aa7b0f5322cfb93951bb01fbb (diff) |
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..93f593e --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,13 @@ +pub mod auth; +pub mod config; +pub mod protocol; + +// Constants +pub const DEFAULT_BUFFER_SIZE: usize = 65536; // Max UDP packet size +pub const TEST_MODE_BANNER: &str = " +╔════════════════════════════════════════════════════╗ +║ TEST MODE ║ +║ Packets will be displayed but not sent to network ║ +╚════════════════════════════════════════════════════╝ +"; +pub const MAX_DISPLAY_BYTES: usize = 64; // Maximum bytes to display in test mode |