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:
Ian Douglas Scott 2023-05-09 08:45:21 -07:00 committed by GitHub
parent b85c504d72
commit 355e5a9715
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 67 additions and 0 deletions

View file

@ -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>),