Commit Graph

367 Commits

Author SHA1 Message Date
Tony Garnock-Jones 0832b94ce9 Optionally-canonicalizing binary output. 2019-10-24 14:35:34 +01:00
Tony Garnock-Jones 02c02b641f Bump rust version 2019-10-23 22:59:13 +01:00
Tony Garnock-Jones ab06cd465d Remove pointless footnote remark 2019-10-23 22:58:47 +01:00
Tony Garnock-Jones b1ca95c835 Customizable treatment of Domain during encoding 2019-10-23 22:58:36 +01:00
Tony Garnock-Jones 27fb961653 Allow embedding of domain-specific non-Preserves data within a Preserves Value 2019-10-22 22:36:01 +01:00
Tony Garnock-Jones 826fce6203 Bump rust version 2019-10-20 13:57:40 +01:00
Tony Garnock-Jones 91f48d08f9 Clip clip clip 2019-10-20 13:57:10 +01:00
Tony Garnock-Jones 488bfdc59c Fix clippyisms 2019-10-20 13:57:04 +01:00
Tony Garnock-Jones ccc3b5780b Bump rust version 2019-10-19 23:31:22 +01:00
Tony Garnock-Jones 6f03538956 Clippy told me not to implement Hash when deriving PartialEq. Fair enough 2019-10-19 23:31:00 +01:00
Tony Garnock-Jones 84f99fc471 New tests 2019-10-19 23:30:46 +01:00
Tony Garnock-Jones 4b957d8785 Advance index when reading multiple bytes as well as one at a time 2019-10-19 23:26:44 +01:00
Tony Garnock-Jones a00314d108 Refine error API 2019-10-15 20:44:19 +01:00
Tony Garnock-Jones d2a57c839c Exclude implementations/ from site 2019-10-15 19:01:05 +01:00
Tony Garnock-Jones 96679e8bf5 Bump Rust version to 0.2.0 2019-10-12 22:51:36 +01:00
Tony Garnock-Jones c95b000b7b annotations_mut, value_mut for PlainValue 2019-10-12 22:51:25 +01:00
Tony Garnock-Jones 9611c1f977 Delegate most numeric From implementations to the i128 one 2019-10-12 22:36:46 +01:00
Tony Garnock-Jones 623bbd0a71 annotations() returns slice rather than Vec ref 2019-10-12 22:36:18 +01:00
Tony Garnock-Jones 54d1e349b3 AValue -> PlainValue, RcValue and ArcValue 2019-10-12 21:54:20 +01:00
Tony Garnock-Jones f1b37ac9af First tentative step to allowing reuse of Value with direct containment, Rc and Arc 2019-10-12 15:40:35 +01:00
Tony Garnock-Jones cea42db3dc Tweak language per @dustyweb suggestion 2019-10-11 16:19:57 +01:00
Tony Garnock-Jones 2ff6cf400b Simplify 2019-10-09 15:58:02 +01:00
Tony Garnock-Jones 383824c5e0 CSS tweaks for mobile 2019-10-08 18:43:38 +01:00
Tony Garnock-Jones 0a537b73ed Tweak print stylesheet. 2019-10-08 14:45:58 +01:00
Tony Garnock-Jones ab1ef92334 Clarify Dictionary canonical form 2019-10-08 14:06:08 +01:00
Tony Garnock-Jones 5b0ad234fd This is not needed; instead, the general prohibition on non-shortest-varints applies 2019-10-08 13:55:12 +01:00
Tony Garnock-Jones ebcdbe9ee2 Further clarification. 2019-10-08 13:54:23 +01:00
Tony Garnock-Jones ba8875e1d7 Tweak 2019-10-08 13:49:21 +01:00
Tony Garnock-Jones 8aaec11635 Varints must be as short as possible to be canonical 2019-10-08 13:49:03 +01:00
Tony Garnock-Jones fe8c766d1e Canonical Form for Binary Syntax 2019-10-08 13:27:35 +01:00
Tony Garnock-Jones da2a6d44d1 Bump patch version 2019-09-20 21:43:18 +01:00
Tony Garnock-Jones f081470b1e panic -> unreachable 2019-09-20 21:43:08 +01:00
Tony Garnock-Jones 72edd1327a From<value::decoder::Error> for std::io::Error 2019-09-20 21:42:45 +01:00
Tony Garnock-Jones 8cdd67f5ba Mutable Read in Decoder 2019-09-20 21:42:09 +01:00
Tony Garnock-Jones 898a5d680d Expose encoder::Error 2019-09-19 21:49:46 +01:00
Tony Garnock-Jones 63cd853ba1 Rc -> Box 2019-09-19 21:35:00 +01:00
Tony Garnock-Jones 116b37a24f Ahhh 2019-09-19 21:34:40 +01:00
Tony Garnock-Jones 9af8ca8e97 More metadata 2019-09-17 11:42:13 +01:00
Tony Garnock-Jones ef3b88147e Codec; implement Rust tests; samples.txt in quasi-canonical serialized order 2019-09-17 11:27:44 +01:00
Tony Garnock-Jones 199ce1fdba invert_map (for placeholder en/decode conversion) 2019-09-17 09:57:44 +01:00
Tony Garnock-Jones 6775868272 Better errors; Symbol wrapper; proper identifier decoding; Test case struct deserialization works 2019-09-17 09:43:03 +01:00
Tony Garnock-Jones a548485b2e Rust serde glue (wip) 2019-09-17 00:58:44 +01:00
Tony Garnock-Jones 2349e80b30 Rust Encoder 2019-09-15 16:16:17 +01:00
Tony Garnock-Jones bec3a10d64 Annotation skipping; text-syntax-like debug printing (plus pretty printing for free!!) 2019-09-15 12:25:23 +01:00
Tony Garnock-Jones 365e41b798 New case 2019-09-15 11:18:06 +01:00
Tony Garnock-Jones 2fc1d42cd7 Bump versions 2019-09-11 14:31:08 +01:00
Tony Garnock-Jones 1be54a2b8f Beginnings of a Rust Preserves decoder 2019-09-09 22:08:26 +01:00
Tony Garnock-Jones 02e0eae396 New test 2019-09-09 21:08:31 +01:00
Tony Garnock-Jones d5cbe90235 Further steps toward learning enough Rust to produce an implementation 2019-09-09 14:46:53 +01:00
Tony Garnock-Jones 2dd2c329ed Another test case 2019-09-08 14:33:50 +01:00