#binary #encode #decode #serialization #schema

bebop

The Rust runtime for Bebop, a schema-based binary serialization format

39 stable releases

2.8.7 Jul 18, 2023
2.8.5 Jun 27, 2023
2.4.10 Mar 20, 2023
2.4.9 Oct 9, 2022
0.1.0 Oct 29, 2020

#208 in Encoding

Download history 101/week @ 2023-06-03 73/week @ 2023-06-10 128/week @ 2023-06-17 130/week @ 2023-06-24 64/week @ 2023-07-01 53/week @ 2023-07-08 52/week @ 2023-07-15 50/week @ 2023-07-22 12/week @ 2023-07-29 66/week @ 2023-08-05 8/week @ 2023-08-12 115/week @ 2023-08-19 157/week @ 2023-08-26 64/week @ 2023-09-02 20/week @ 2023-09-09 11/week @ 2023-09-16

269 downloads per month

Apache-2.0

57KB
1.5K SLoC

Bebop

Bebop

No ceremony, just code.
Blazing fast, typesafe binary serialization.

Apache License Discord
Twitter

REPL demo

Modern code generation. No bloat.


Intro

Bebop enables schema-based, typesafe, binary serialization and code generation. It is designed to be a good fit for client–server or distributed web apps that require a faster, more concise, and more typesafe alternative to JSON or MessagePack, while avoiding the complexity of Protocol Buffers, FlatBuffers, and similar solutions.

If you want to get familiar with the schema language and see what the generated code looks like, try out the web REPL.

Features

  • πŸ§™β€β™‚οΈ  Supports Typescript, C#, Rust, C++, and more.
  • 🐎  Snappy DX - integrate bebopc into your project with ease. Language support available in VSCode.
  • πŸƒ  Light - Bebop has zero deps and a tiny runtime footprint. Generated code is tightly optimized.
  • πŸŒ—  RPC - build efficent APIs with Tempo.
  • ☁️  Runs everywhere - browsers, serverless platforms, and on bare metal.

πŸ‘‰ For more information check out the wiki. πŸ‘ˆ

Bebop is insanely fast! πŸš€

P12CpmA

Releases

To find the latest release of the bebopc and its corresponding runtimes, visit the release page.

Documentation

Bebop is documented on this repository's wiki. Here are some quick links to get you started:

See You Space Cowboy...

Dependencies

~145KB