From 6900fbfd9c575ffc31727eb0da06443ef9684cd7 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 23 Mar 2022 13:25:42 +0100 Subject: roezio: Switch to edition 2021 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/lib.rs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 78ced5a8..5eed1395 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,13 +1,6 @@ -extern crate ncurses; -extern crate nom; -extern crate pyo3; -#[macro_use] -extern crate lazy_static; -extern crate enum_set; +mod theming; -pub mod theming; - -use self::theming::{curses_attr, parse_attrs}; +use crate::theming::{curses_attr, parse_attrs}; use pyo3::{ conversion::{IntoPy, ToPyObject}, -- cgit v1.2.3