1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#![feature(fs_try_exists)]
#![feature(cursor_remaining)]
#![feature(slice_pattern)]
#![feature(is_sorted)]
#![feature(trait_upcasting)]

extern crate core;

pub mod config;
pub mod error;
pub mod kernel;
pub mod proto;

#[cfg(feature = "net")]
pub mod server;

pub use error::KernelError;

pub const DEFAULT_PORT: u16 = 6333;

pub const LOCAL_IP: &str = "127.0.0.1";