Renamed pulse wire to sdk

This commit is contained in:
2026-07-28 22:33:19 +02:00
parent 7968ae14af
commit 5c65b19e97
18 changed files with 39 additions and 38 deletions
+25
View File
@@ -0,0 +1,25 @@
#[cfg(target_os = "macos")]
use std::path::PathBuf;
pub mod general;
pub mod plugin;
pub mod terminal;
pub mod units;
pub use hypersdk;
pub mod prelude {
pub use crate::general::*;
pub use crate::plugin::*;
pub use crate::server_path;
pub use crate::terminal::*;
pub use crate::units::*;
pub use hypersdk;
}
pub fn server_path() -> PathBuf {
PathBuf::from("/tmp/pulse-engine.sock")
}
pub fn map_postcard_err<T>(res: postcard::Result<T>) -> tokio::io::Result<T> {
res.map_err(|e| tokio::io::Error::new(std::io::ErrorKind::Other, e))
}