[feat][code] proto crate, one stream per request

This commit is contained in:
2024-11-08 22:22:50 +01:00
parent 04a39790b8
commit 9d8f579a0f
18 changed files with 862 additions and 306 deletions

View File

@ -0,0 +1 @@
pub mod macros;

View File

@ -0,0 +1,6 @@
#[macro_export]
macro_rules! maybe_addr {
($addr:expr) => {
$addr.map_or("<unknown>".to_string(), |addr| addr.to_string())
};
}