travsr-plugin-protocol 0.6.0

Travsr plugin wire protocol — Plugin trait, message types, and frame codec
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![forbid(unsafe_code)]
//! travsr-plugin-protocol — Plugin trait, wire message types, and frame codec.

pub mod codec;
pub mod ffi_marker;
pub mod language_map;
pub mod plugin;
pub mod types;

pub use codec::{decode_message, encode_message, write_message};
pub use ffi_marker::{FfiMarker, FfiMarkerKind};
pub use language_map::{language_from_proto_str, language_to_proto_str};
pub use plugin::Plugin;
pub use types::{
    HandshakeRequest, HandshakeResponse, InvokeRequest, InvokeResponse, ParseRequest,
    ParseResponse, PluginError, PluginRequest, PluginResponse, PROTOCOL_VERSION,
};