Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jonaswanke/capnproto-dart
- Owner: JonasWanke
- License: mit
- Created: 2020-12-02T15:25:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-15T16:30:18.000Z (almost 3 years ago)
- Last Synced: 2024-11-02T13:33:55.167Z (14 days ago)
- Topics: capnproto, dart, serialization
- Language: Dart
- Homepage: https://pub.dev/packages/capnproto
- Size: 51.8 KB
- Stars: 16
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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