codemp-proto/README.md

23 lines
1.4 KiB
Markdown
Raw Normal View History

2024-09-07 22:15:08 +02:00
[![codemp](https://code.mp/static/banner.png)](https://code.mp)
2024-09-05 06:24:19 +02:00
2024-09-05 15:57:12 +02:00
[![Actions Status](https://github.com/hexedtech/codemp-proto/actions/workflows/ci.yml/badge.svg)](https://github.com/hexedtech/codemp-proto/actions)
[![Crates.io Version](https://img.shields.io/crates/v/codemp-proto)](https://crates.io/crates/codemp-proto)
[![docs.rs](https://img.shields.io/docsrs/codemp-proto)](https://docs.rs/codemp-proto)
2024-09-05 15:57:12 +02:00
[![Crates.io License](https://img.shields.io/crates/l/codemp-proto)](https://github.com/hexedtech/codemp-proto/blob/dev/LICENSE)
[![Gitter](https://img.shields.io/gitter/room/hexedtech/codemp-proto)](https://gitter.im/hexedtech/codemp-proto)
2024-09-05 15:57:12 +02:00
2024-09-05 06:24:19 +02:00
> `codemp` is a **collaborative** text editing solution to work remotely.
It seamlessly integrates in your editor providing remote cursors and instant text synchronization,
as well as a remote virtual workspace for you and your team.
# Protocol
2024-09-05 00:24:39 +02:00
gRPC protocol specification for [`codemp`](https://github.com/hexedtech/codemp).
2024-09-05 00:24:39 +02:00
This is a [`prost`](https://github.com/tokio-rs/prost) crate: it will generated Rust code based on the protobuf defintions contained in the `proto/` directory.
From protobuf definition, `prost` will compile structs for all protocol messages but also server and client service implementations.
## Building
To compile this crate, `protoc` must be installed: [`prost` requires it to compile the protocol definition](https://docs.rs/prost/latest/prost/#protoc).