distant-core 0.13.1

Core library for distant, enabling operation on a remote computer through file and process manipulation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod listener;
mod transport;

pub use listener::{AcceptFuture, Listener, TransportListener, TransportListenerCtx};
pub use transport::*;

// Re-export commonly-used orion structs
pub use orion::aead::SecretKey;

pub trait UnprotectedToHexKey {
    fn unprotected_to_hex_key(&self) -> String;
}

impl UnprotectedToHexKey for SecretKey {
    fn unprotected_to_hex_key(&self) -> String {
        hex::encode(self.unprotected_as_bytes())
    }
}