Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jonaswanke/capnproto-dart

Pure Dart implementation of Cap'n Proto – an extremely efficient protocol for sharing data and capabilities.
https://github.com/jonaswanke/capnproto-dart

capnproto dart serialization

Last synced: 7 days ago
JSON representation

Pure Dart implementation of Cap'n Proto – an extremely efficient protocol for sharing data and capabilities.

Awesome Lists containing this project

README

        

# capnproto-dart: Cap'n Proto for Dart

[![Build, Test & Lint](https://github.com/JonasWanke/capnproto-dart/workflows/Build,%20Test%20&%20Lint/badge.svg)](https://github.com/JonasWanke/capnproto-dart/actions?query=branch%3Amain+workflow%3A%22Build%2C+Test+%26+Lint%22)
[![Coverage](https://codecov.io/gh/JonasWanke/capnproto-dart/branch/main/graph/badge.svg)](https://codecov.io/gh/JonasWanke/capnproto-dart)

[Cap'n Proto](https://capnproto.org) is an extremely efficient protocol for sharing data and capabilities, and capnproto-dart is a pure Dart implementation.

The [example folder](https://github.com/JonasWanke/capnproto-dart/tree/main/example) contains sample structs and a sample message, and a full walkthrough of using this package in [example/main.dart](https://github.com/JonasWanke/capnproto-dart/blob/main/example/main.dart).

In this early stage, this package only supports decoding messages containing primitive values and lists of primitives or structs. The following features are not yet supported:

* encoding messages
* packed messages
* enums, groups & unions
* default values
* inter-segment pointers with a two-word landing pad
* RPCs/Capabilities