Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@

A CBOR encoding/decoding library for Gleam.

# Specification Support

This library aims to support the majority of the CBOR specification (RFC 8949). The following table details the level of support for each major feature:

| Feature | Supported | Notes |
| :--- | :---: | :--- |
| Integers | ✅ | Covers both positive (major type 0) and negative (major type 1) integers. |
| Byte Strings | ✅ | Definite-length only (major type 2). |
| Text Strings | ✅ | Definite-length only (major type 3). |
| Arrays | ✅ | Definite-length only (major type 4). |
| Maps | ✅ | Definite-length only (major type 5). |
| Tags | ✅ | (major type 6). |
| Simple Values & Floats | ✅ | Covers simple values, booleans, null, undefined, and floating-point numbers (major type 7). |
| Indefinite-length Items | ❌ | Not supported for strings, byte strings, arrays, or maps. |

# Installation
```sh
gleam add gbor@1
Expand Down