main.rs 421 Bytes
Newer Older
Ticki's avatar
Docs  
Ticki committed
1 2
//! Sodium is a next generation Vi-like editor.

Ticki's avatar
Ticki committed
3
#![feature(stmt_expr_attributes)]
Ticki's avatar
Ticki committed
4
#![deny(warnings)]
Ticki's avatar
Docs  
Ticki committed
5
#![deny(missing_docs)]
Ticki's avatar
Ticki committed
6 7

#[cfg(feature = "orbital")]
Jeremy Soller's avatar
Jeremy Soller committed
8
extern crate orbclient;
Ticki's avatar
Ticki committed
9

Ticki's avatar
Ticki committed
10
/// Core functionality.
Ticki's avatar
Ticki committed
11
#[macro_use]
Ticki's avatar
Ticki committed
12 13 14 15 16 17 18 19 20 21
pub mod core;
/// Carret primitives.
pub mod caret;
/// Editing.
pub mod edit;
/// Input/Output
pub mod io;
/// State of the editor.
pub mod state;

Ticki's avatar
Ticki committed
22

Jeremy Soller's avatar
Jeremy Soller committed
23
fn main() {
Ticki's avatar
Ticki committed
24
    self::state::editor::Editor::init();
Ticki's avatar
Ticki committed
25
}