Crates.io | ssh_format |
lib.rs | ssh_format |
version | 0.14.1 |
source | src |
created_at | 2021-09-27 02:51:48.032275 |
updated_at | 2022-10-18 11:10:06.644254 |
description | Data format used to communicate with openssh mux server. |
homepage | |
repository | https://github.com/openssh-rust/ssh_format |
max_upload_size | |
id | 456747 |
size | 38,369 |
Data format used to communicate with openssh mux server.
Format details:
u32
according to here;char
are encoded as u32
;u32
) + content, same as sshbuf_put_string
;Option::None
are omitted while Option::Some(v)
has the same encoding as v
since
openssh mux protocol allows optional parameter at the end of the message;u32
) + content encoded as-is (it is expected to manually
implement Serialize
and Deserialize
to ensure the variant_index
is the one
you expected);is_human_readable
enables Serializer::is_human_readable
and
Deserializer::is_human_readable
.