diff options
author | metamuffin <yvchraiqi@protonmail.com> | 2022-08-16 16:11:57 +0200 |
---|---|---|
committer | metamuffin <yvchraiqi@protonmail.com> | 2022-08-16 16:11:57 +0200 |
commit | ea35ce0e6848c1224fa4c1cff424480a2996b49a (patch) | |
tree | e98781327e7f1dc0ae0eb6397b5aeb51e9bfa52e /karlcommon | |
parent | 0c12d22f53865fadf7f6eb17b44396663ddbf0e0 (diff) | |
download | karlender-ea35ce0e6848c1224fa4c1cff424480a2996b49a.tar karlender-ea35ce0e6848c1224fa4c1cff424480a2996b49a.tar.bz2 karlender-ea35ce0e6848c1224fa4c1cff424480a2996b49a.tar.zst |
lets make a gui anyway
Diffstat (limited to 'karlcommon')
-rw-r--r-- | karlcommon/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/karlcommon/src/lib.rs b/karlcommon/src/lib.rs index f5e0798..173beba 100644 --- a/karlcommon/src/lib.rs +++ b/karlcommon/src/lib.rs @@ -1,11 +1,11 @@ pub mod protocol; +pub use protocol::*; + use std::{ os::unix::prelude::MetadataExt, path::{Path, PathBuf}, }; -pub use protocol::*; - pub fn socket_path() -> PathBuf { std::env::var("XDG_RUNTIME_DIR") .map(|p| Path::new(p.as_str()).to_path_buf()) |