actaeon 0.2.1

Decentralized PubSub & messaging protocol inspired by Kademlia.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use actaeon::{config::Config, node::Center, Interface};
use sodiumoxide::crypto::box_;

fn main() {
    env_logger::init();
    let config = Config::new(20, 1, 100, "example.com".to_string(), 4242);
    let (_, secret) = box_::gen_keypair();
    let center = Center::new(secret, String::from("127.0.0.1"), 1234);

    let _ = Interface::new(config, center).unwrap();
    loop {}
}