Full support of diagnostic notation
parent
3c91037cf3
commit
3ca182db50
14
README.md
14
README.md
|
@ -5,6 +5,11 @@
|
||||||
This library implements the [RFC7049: Concise Binary Object Representation (CBOR)][rfc]
|
This library implements the [RFC7049: Concise Binary Object Representation (CBOR)][rfc]
|
||||||
in Crystal.
|
in Crystal.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- Full RFC7049 support
|
||||||
|
- Full support for diagnostic notation
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
|
||||||
### Maximum Array/String array/Bytes array length
|
### Maximum Array/String array/Bytes array length
|
||||||
|
@ -15,15 +20,6 @@ to be a `UInt64`.
|
||||||
While this library supports lengths expressed as a `UInt64`, it must not exceed
|
While this library supports lengths expressed as a `UInt64`, it must not exceed
|
||||||
`Int32::MAX`.
|
`Int32::MAX`.
|
||||||
|
|
||||||
### Diagnostic notation
|
|
||||||
|
|
||||||
While this library implements a diagnostic notation to be able to run against
|
|
||||||
the examples provided in the RFC, the diagnostic notation is not fully
|
|
||||||
spec-compliant:
|
|
||||||
|
|
||||||
- Indefinite length items are not marked with the starting underscore but
|
|
||||||
represented as their finite counterparts.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Add the dependency to your `shard.yml`:
|
1. Add the dependency to your `shard.yml`:
|
||||||
|
|
Loading…
Reference in New Issue