An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/fxamacker/cbor

Package cbor provides a fuzz-tested CBOR encoder and decoder with full support for float16, Canonical CBOR, CTAP2 Canonical CBOR, and custom settings. https://github.com/fxamacker/cbor/releases Encoding options allow "preferred serialization" by encoding integers and floats to their smallest forms (like float16) when values fit. Go struct tags like `cbor:"name,omitempty"` and `json:"name,omitempty"` work as expected. If both struct tags are specified then `cbor` is used. Struct tags like "keyasint", "toarray", and "omitempty" make it easy to use very compact formats like COSE and CWT (CBOR Web Tokens) with structs. For example, the "toarray" struct tag encodes/decodes struct fields as array elements. And "keyasint" struct tag encodes/decodes struct fields to values of maps with specified int keys. fxamacker/cbor-fuzz provides coverage-guided fuzzing for this package. For latest API docs, see: https://github.com/fxamacker/cbor#api

Ecosystem
proxy.golang.org
Latest Release
v1.5.1
about 6 years ago
Versions
20
Dependent Packages
186
Dependent Repos
98
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/fxamacker/cbor
spec
License MIT
Namespace github.com/fxamacker
First Release almost 7 years ago
Last Synced about 7 hours ago
Repository
Stars 947 on GitHub
Forks 72 on GitHub
Docker Dependents 16
Docker Downloads 692,685,847
Rankings on proxy.golang.org
Overall Top 1.7%
Dependent packages Top 0.4%
Dependent repos Top 0.6%
Forks Top 3.5%
Docker downloads Top 1.6%