diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-10-29 13:42:00 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-10-29 13:42:00 -0400 |
commit | f84638fd816d2295c5d9f60c0ac8eb6df50d1aba (patch) | |
tree | 4562b26f23283710e454d257114813be1623ea1d /src/lib.rs | |
parent | e525fddb572614f4c6d6a7d71ed44e9dfe7af350 (diff) | |
download | vt100-rust-f84638fd816d2295c5d9f60c0ac8eb6df50d1aba.tar.gz vt100-rust-f84638fd816d2295c5d9f60c0ac8eb6df50d1aba.zip |
start the rewrite
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -1,17 +1,12 @@ -#![cfg_attr(feature = "cargo-clippy", feature(tool_lints))] -// we use empty enums to represent opaque c pointers, but we don't have a way -// to indicate that those pointers do actually have additional alignment -// restrictions, so casting them to their prefixes is actually safe -#![cfg_attr(feature = "cargo-clippy", allow(clippy::cast_ptr_alignment))] - -extern crate libc; +#![warn(clippy::pedantic)] +#![warn(clippy::nursery)] +#![allow(clippy::missing_const_for_fn)] mod cell; -mod color; -mod ffi; -mod screen; -mod types; - pub use cell::Cell; +mod color; pub use color::Color; +mod parser; +mod pos; +mod screen; pub use screen::Screen; |