1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
mod config;
mod ipv8;

pub use config::Config;
use ipv8::IPv8;

/**
 * Create a new instance of IPv8.
 */
pub fn new(config: Config) -> IPv8 {
  return IPv8::new(config);
}