@sir
Very nice. Looks like it should be able to encode primitive Rust types, has tagged unions, optionals, binary. How does this compare with CBOR? What about native date/time encoding (e.g. TAI64N)?

@brombek it's more concise than COBR, both the encoded messages and the complexity of the spec. It has a grammar, the COBR grammar is not finalized.

There is a Rust impl here:

git.sr.ht/~tdeo/serde_bare

NACK to native time encoding, but it's trivial to add your own with a user-defined type

Follow

@sir
Yeah, trivial to add means that everybody will do it differently and the only way to know will be comments in the schema file (like in the example). This will make communicating this fundamental physical and human concept incompatible and only agreeable on with documentation. Anyway, this is good for what it is. Thanks for the link.

@brombek there are many data types for which this argument could be made

Sign in to participate in the conversation
Mastodon 🔐 privacytools.io

Fast, secure and up-to-date instance. PrivacyTools provides knowledge and tools to protect your privacy against global mass surveillance.

Website: privacytools.io
Matrix Chat: chat.privacytools.io
Support us on OpenCollective, many contributions are tax deductible!