blob: 9c15e9e3e4d24b78b230bbb8c70569192954493b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#[macro_use]
mod macros;
mod repl;
mod database;
mod connection;
mod platform;
use repl::ClientState;
fn main() {
#[cfg(windows)]
platform::win::enable_vt().unwrap();
let mut state = ClientState::new();
if let Some(host) = state.addr.clone() {
state.connect_to(&host);
}
state.run();
}
|