aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-10-29 13:42:00 -0400
committerJesse Luehrs <doy@tozt.net>2019-10-29 13:42:00 -0400
commitf84638fd816d2295c5d9f60c0ac8eb6df50d1aba (patch)
tree4562b26f23283710e454d257114813be1623ea1d /src/lib.rs
parente525fddb572614f4c6d6a7d71ed44e9dfe7af350 (diff)
downloadvt100-rust-f84638fd816d2295c5d9f60c0ac8eb6df50d1aba.tar.gz
vt100-rust-f84638fd816d2295c5d9f60c0ac8eb6df50d1aba.zip
start the rewrite
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2852c57..3db6c7d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;