Move config into a separate crate

Get miette and knuffel deps contained within.
This commit is contained in:
Ivan Molodetskikh
2024-01-07 09:07:22 +04:00
parent 4e0aa39113
commit 64c41fa2c8
15 changed files with 92 additions and 41 deletions
+1 -1
View File
@@ -5,6 +5,7 @@ use std::rc::Rc;
use std::sync::{Arc, Mutex};
use std::time::Duration;
use niri_config::Config;
use smithay::backend::allocator::dmabuf::Dmabuf;
use smithay::backend::renderer::damage::OutputDamageTracker;
use smithay::backend::renderer::gles::GlesRenderer;
@@ -18,7 +19,6 @@ use smithay::reexports::winit::window::WindowBuilder;
use smithay::utils::Transform;
use super::RenderResult;
use crate::config::Config;
use crate::niri::{RedrawState, State};
use crate::utils::get_monotonic_time;
use crate::Niri;