lonca-client 0.2.2

Client of the Lonca daemon socket: protocol types, framing, daemon checks and the human session file
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![doc = include_str!("../README.md")]

pub mod client;
pub mod protocol;
pub mod session;
pub mod sys;
pub mod trust;

pub use client::{CallError, Client, ErrorKind};
pub use session::HumanSession;
pub use trust::Trust;

/// The runner-facing protocol number (`docs/protocol.md`), the one the
/// daemon answers in `ping.protocol`. It goes up when a shape changes in a
/// way a client must know about; adding a field does not count.
pub const PROTOCOL: u32 = 1;