config: Add calloop feature to provide a calloop source (#102)
This should be useful for integrating cosmic-config into things using calloop, like cosmic-comp.
This commit is contained in:
parent
b85c504d72
commit
355e5a9715
3 changed files with 67 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ use std::{
|
|||
sync::Mutex,
|
||||
};
|
||||
|
||||
#[cfg(feature = "calloop")]
|
||||
pub mod calloop;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
AtomicWrites(atomicwrites::Error<std::io::Error>),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue