Commit Graph

17 Commits (b8ebc57bb7a7a26955c9204cac8031f93a4e5403)

Author SHA1 Message Date
Karchnu b8ebc57bb7 Decoding: use_cbor_discriminator 2020-11-11 04:54:19 +01:00
Alberto Restifo 69b9933c3c Add tests for examples 2020-05-27 13:52:29 +02:00
Alberto Restifo 9d4c37460c Strict by default and implement Serializable::Unmapped 2020-05-23 17:32:23 +02:00
Alberto Restifo 2f8693ca34 Implement CBOR::Serializable to decode from_cbor
The CBOR::Serializable macro implements a from_cbor method on any
object on which it's included.
2020-05-22 22:06:53 +02:00
Alberto Restifo 59145cacfe Improve nil handling 2020-05-11 12:48:02 +02:00
Alberto Restifo a769a1a17a Fix unbounded array iteration 2020-05-09 20:25:32 +02:00
Alberto Restifo 82882ba7a8 Add enum support 2020-04-25 17:33:19 +02:00
Alberto Restifo 6a70810667 Implement hash and set 2020-04-25 17:27:01 +02:00
Alberto Restifo 74c71a57c3 WIP: Array 2020-04-24 23:43:57 +02:00
Alberto Restifo 830981ba5d Decode Nil 2020-04-24 22:50:48 +02:00
Alberto Restifo 307da9658d Fix fractional unix timestamps handling 2020-04-24 22:46:07 +02:00
Alberto Restifo f4ad61665c Parse time 2020-04-24 15:59:16 +02:00
Alberto Restifo 547e8af2bd Start implementing from_cbor decoding 2020-04-23 00:25:11 +02:00
Alberto Restifo 1c2e90d7a4 Refactor Token to be a struct 2020-04-22 11:17:06 +02:00
Alberto Restifo 2e2edd1908 Work on lexer and diagnostic representation 2020-04-20 14:57:20 +02:00
Alberto Restifo dd1288089f Adjustements 2020-04-19 20:49:48 +02:00
Alberto Restifo aded275148 Continue implementation and start decoder 2020-04-19 20:40:10 +02:00