This update deprecates the decoder and encoder module, to maintain compatibility with the CPython cbor2 on pypi. The cbor2 module should now be imported and used directly instead of the decoder/encoder modules, for example:
import cbor2
cbor2.dumps(...)
The senml library, which uses cbor2, is updated to use the new API.
This update deprecates the decoder and encoder module, to maintain compatibility with the CPython cbor2 on pypi. The cbor2 module should now be imported and used directly instead of the decoder/encoder modules, for example:
The
senml
library, which usescbor2
, is updated to use the new API.