memberlist 0.8.0

A highly customable, adaptable, async runtime agnostic gossip protocol which helps manage cluster membership and member failure detection.
Documentation
use super::*;

macro_rules! set_ack_handler {
  ($rt: ident) => {
    paste::paste! {
      #[test]
      fn [< test_ $rt:snake _set_ack_handler >]() {
        [< $rt:snake _run >](async move {
          set_ack_handler::<[< $rt:camel Runtime >]>().await;
        });
      }
    }
  };
}

#[cfg(feature = "tokio")]
mod tokio {
  use agnostic::tokio::TokioRuntime;

  use super::*;

  set_ack_handler!(tokio);
}

#[cfg(feature = "smol")]
mod smol {

  use super::*;

  set_ack_handler!(smol);
}