mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-11-03 19:00:28 +08:00
feat: define an adapter protocol version number constant
This commit is contained in:
@@ -31,6 +31,11 @@ use crate::copy_tree::{CopyTreeError, copy_tree};
|
||||
|
||||
mod copy_tree;
|
||||
|
||||
/// Version of the broker/adapter protocol used.
|
||||
/// This gets put into every [`Request`] message so the adapter can
|
||||
/// detect its getting a message it knows how to handle.
|
||||
pub const PROTOCOL_VERSION: usize = 1;
|
||||
|
||||
/// The type of a run identifier. For maximum generality, this is a
|
||||
/// string rather than an integer.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user