Commit graph

  • b8ebc57bb7 Decoding: use_cbor_discriminator main dev Karchnu 2020-11-11 04:54:19 +01:00
  • 4ac38a7598 Unmapped values are taken into account in the object mapping size. Karchnu 2020-11-11 00:45:59 +01:00
  • 94f47dd728 Removing "_ " in diagnostics, since map sizes are right this time. Karchnu 2020-11-11 00:42:41 +01:00
  • 5f838d36cc Compute the number of object properties to serialize. Karchnu 2020-11-10 20:14:50 +01:00
  • 3ab21c9616 Fix typos and remove redundant use of 'Object#to_s' Sorcus 2020-09-29 21:53:34 +00:00
  • 21356c8bcf Release v0.2.1 Alberto Restifo 2020-09-29 20:31:01 +02:00
  • e05b209ed3 Pass io to the encoder in to_cbor + regression test Alberto Restifo 2020-09-29 20:29:33 +02:00
  • 2e76c0b6d3 Upgrade to Crystal 0.35.0 Alberto Restifo 2020-06-18 09:36:16 +02:00
  • d7a11f5b43 Adjust COSE tags terminology to match RFC8152 Alberto Restifo 2020-06-18 09:29:29 +02:00
  • 529ec14773 Add changelog for v0.1.1 Alberto Restifo 2020-06-02 12:55:49 +02:00
  • 2d6fedf749 Fix encoding of CBOR tags Alberto Restifo 2020-06-02 12:54:16 +02:00
  • 142263358e Remote WIP Alberto Restifo 2020-06-01 23:14:34 +02:00
  • 04c432c237 Prepare documentation for initial release Alberto Restifo 2020-06-01 23:12:05 +02:00
  • b666ac0c84 Improve documentation and examples tests Alberto Restifo 2020-05-30 12:37:12 +02:00
  • 6201f2564f Fix old mention of pull Alberto Restifo 2020-05-27 15:35:28 +02:00
  • 69b9933c3c Add tests for examples Alberto Restifo 2020-05-27 13:52:29 +02:00
  • 8baacbb606 Add encoding capabilities Alberto Restifo 2020-05-24 14:36:34 +02:00
  • 9d4c37460c Strict by default and implement Serializable::Unmapped Alberto Restifo 2020-05-22 23:16:10 +02:00
  • 2f8693ca34 Implement CBOR::Serializable to decode from_cbor Alberto Restifo 2020-05-11 12:48:14 +02:00
  • 59145cacfe Improve nil handling Alberto Restifo 2020-05-11 12:48:02 +02:00
  • 67db021c2b Fix boolean handling and add more tests Alberto Restifo 2020-05-11 12:00:17 +02:00
  • bc20176f77 Add some works to the dictionary Alberto Restifo 2020-05-09 20:27:53 +02:00
  • a769a1a17a Fix unbounded array iteration Alberto Restifo 2020-05-09 20:25:32 +02:00
  • dd73540da2 Adjust tag names Alberto Restifo 2020-05-09 11:08:44 +02:00
  • f2fc25f4d7 Add issue tracker link Alberto Restifo 2020-05-08 11:43:41 +02:00
  • 384f966116 Write contributing guidelines Alberto Restifo 2020-05-08 11:40:26 +02:00
  • 7fc53ab114 Add support for BigDecimal and BigInt Alberto Restifo 2020-05-08 11:40:18 +02:00
  • bb4d3e2b71 Remove duplicated bit shift Alberto Restifo 2020-05-03 13:43:23 +02:00
  • 332ca4af10 Provide support for half-precision floats Alberto Restifo 2020-05-03 13:39:06 +02:00
  • d0ee8df1af Port Float16 conversion from Rust Alberto Restifo 2020-04-25 23:45:03 +02:00
  • b1974aab2d Add BigInt Alberto Restifo 2020-04-25 18:35:07 +02:00
  • 41cc5f082b Fix union Alberto Restifo 2020-04-25 18:26:06 +02:00
  • 14c52208a3 Add named tuple support Alberto Restifo 2020-04-25 18:13:56 +02:00
  • fbf74630b2 Decode Tuples Alberto Restifo 2020-04-25 17:44:14 +02:00
  • 82882ba7a8 Add enum support Alberto Restifo 2020-04-25 17:33:19 +02:00
  • 6a70810667 Implement hash and set Alberto Restifo 2020-04-25 17:27:01 +02:00
  • 74c71a57c3 WIP: Array Alberto Restifo 2020-04-24 23:43:57 +02:00
  • 839a41dd84 Decode floats Alberto Restifo 2020-04-24 22:57:24 +02:00
  • 830981ba5d Decode Nil Alberto Restifo 2020-04-24 22:50:48 +02:00
  • 307da9658d Fix fractional unix timestamps handling Alberto Restifo 2020-04-24 22:46:07 +02:00
  • f4ad61665c Parse time Alberto Restifo 2020-04-24 15:59:16 +02:00
  • 5be5e3b20e Add support for big numbers Alberto Restifo 2020-04-24 11:57:12 +02:00
  • 4929f2487b Document lack of half-precision float Alberto Restifo 2020-04-24 11:37:41 +02:00
  • a78d06f33a Implement floats Alberto Restifo 2020-04-24 00:05:50 +02:00
  • e7f4426062 Implement simple values Alberto Restifo 2020-04-23 23:25:28 +02:00
  • 4872fc4471 Add Tag decoding Alberto Restifo 2020-04-23 10:57:33 +02:00
  • 9c5afcd34d Implement hash encoding Alberto Restifo 2020-04-23 10:49:34 +02:00
  • 3ca182db50 Full support of diagnostic notation Alberto Restifo 2020-04-23 09:41:46 +02:00
  • 3c91037cf3 Implement array tokenization Alberto Restifo 2020-04-23 09:40:51 +02:00
  • 547e8af2bd Start implementing from_cbor decoding Alberto Restifo 2020-04-23 00:25:11 +02:00
  • 9739c4971b Refactor lexer in preparation for decoder Alberto Restifo 2020-04-22 23:48:58 +02:00
  • ddb2615031 Start implementing array tokenization Alberto Restifo 2020-04-22 22:31:33 +02:00
  • 2aea52d78f Document limitations Alberto Restifo 2020-04-22 22:31:00 +02:00
  • 4958a4c068 Hide BytesArray and StringArray from outside Lexer Alberto Restifo 2020-04-22 13:28:03 +02:00
  • 1c2e90d7a4 Refactor Token to be a struct Alberto Restifo 2020-04-22 11:17:06 +02:00
  • 28f9cfa1f5 Add support for string streaming Alberto Restifo 2020-04-22 09:33:46 +02:00
  • 321b3fd986 Implement Strings decoding Alberto Restifo 2020-04-21 23:18:56 +02:00
  • 37677a40ad Fix BytesArray functioning Alberto Restifo 2020-04-21 22:48:27 +02:00
  • 154876403e Refactor lexer and simplify token Alberto Restifo 2020-04-21 15:02:31 +02:00
  • 56eed66541 Add support for terminating tokens Alberto Restifo 2020-04-21 00:01:35 +02:00
  • 2e2edd1908 Work on lexer and diagnostic representation Alberto Restifo 2020-04-20 14:57:20 +02:00
  • dd1288089f Adjustements Alberto Restifo 2020-04-19 20:49:48 +02:00
  • aded275148 Continue implementation and start decoder Alberto Restifo 2020-04-19 20:40:10 +02:00
  • b179ef7857 Add repository details Alberto Restifo 2020-04-19 14:05:27 +02:00
  • f338597def Add build status badge Alberto Restifo 2020-04-19 13:55:23 +02:00
  • 3ee5b15bac Fix lint stage Alberto Restifo 2020-04-19 13:53:15 +02:00
  • 4a740a627e Add build config Alberto Restifo 2020-04-19 13:52:13 +02:00
  • 9a7ec44b66 Fix bytes decoding Alberto Restifo 2020-04-19 13:45:07 +02:00
  • ed19ece346 Add diagnostic notation for bytes Alberto Restifo 2020-04-19 13:45:00 +02:00
  • 41f536bd46 Add support for Binary decoding Alberto Restifo 2020-04-19 13:22:50 +02:00
  • c803f211cd Add all test cases from RFC Alberto Restifo 2020-04-19 13:22:39 +02:00
  • a956794f4e Complete basic int conversion Alberto Restifo 2020-04-19 12:16:05 +02:00
  • 9d1c255c2c Start lexer and tests Alberto Restifo 2020-04-19 00:18:54 +02:00
  • 3b7d42c242 Continue work on lexer Alberto Restifo 2020-04-17 19:50:26 +02:00
  • b5f4b0d368 Initialize library Alberto Restifo 2020-04-17 14:32:43 +02:00