Commit Graph

42 Commits

Author SHA1 Message Date
Alex 31c20c3a03 reduce unnecessary re-exports 2023-11-15 01:46:48 +01:00
Alex 147f882ad5 Update dryoc to 0.5 2023-11-15 01:44:29 +01:00
Alex 024a715d0d simplify byte encodings, use prefixes for crypto data types 2023-11-15 01:35:21 +01:00
Alex 5b5bb430b9 add cargo.lock 2023-11-15 00:18:46 +01:00
Alex ea4233259f remove switch64 2023-11-15 00:16:02 +01:00
Alex 3b8b1ec0f4 remove " from allowed chars 2023-11-15 00:13:43 +01:00
Alex bd11c73899 v0.4.0 : change delimiter, etc 2023-05-10 12:05:25 +02:00
Alex 7dc139737c
fix substraction overflow 2022-12-15 17:03:12 +01:00
Alex eae4a0443a
Switch64 encoding available in serde encoder (TODO decoder) 2022-12-15 16:47:04 +01:00
Alex 1579030b44
Cargo fmt 2022-12-15 15:38:10 +01:00
Alex 52f6bd177c
New concise encoding 2022-12-15 15:36:41 +01:00
Alex abc27adea4
Remove nested structs and add list syntax 2022-12-15 14:45:27 +01:00
Alex 08c221558f
A list is now called a sequence; works the same 2022-12-15 13:32:38 +01:00
Alex a43b51211a
Old changes 2022-12-15 13:23:01 +01:00
Alex b0bd343188
Derive std::error::Error for error types 2022-11-23 13:22:24 +01:00
Alex 2abd28c663
Add extra characters @ and : in strings 2022-11-23 12:52:03 +01:00
Alex ca335ab3fc
Remove useless dependency on rand crate 2022-11-23 11:09:27 +01:00
Alex 335d18bfbc
Simplified hashing and signing API 2022-11-22 15:29:04 +01:00
Alex fd957e7ef1
Move to dryoc crate for crypto primitives 2022-11-22 14:56:58 +01:00
Alex 5651210a83
Comment and add from_term deserialization function 2022-11-18 19:11:40 +01:00
Alex 7a79994b00
Cleanup 2022-11-18 18:59:06 +01:00
Alex 24c7a9bbb5
Small syntax hack for nested things 2022-11-18 18:06:43 +01:00
Alex 790aac7f75
More tests and fix tests 2022-11-18 18:00:30 +01:00
Alex bcef147633
make clippy happy 2022-11-18 16:29:18 +01:00
Alex 1bcefaa1ae
Deserializer seems to work a bit 2022-11-18 16:27:30 +01:00
Alex 4b8555711e
Add serde serializer 2022-11-18 14:15:30 +01:00
Alex 4f354768b6
Add documentation 2022-11-18 12:54:56 +01:00
Alex 7cb5ff2fc2
Change `encode` to be a method of Term 2022-11-18 12:53:14 +01:00
Alex bc319d3089
Fix stupid encode API 2022-11-18 12:49:13 +01:00
Alex e7ea915121
Fixes for bytes, fix outer newlines, NESTED datatypes 2022-11-18 01:59:00 +01:00
Alex 22fe9568bd
Split base64 over several items to insert newlines 2022-11-18 00:20:42 +01:00
Alex 8c4d2dbd93
Fix tabs in comments 2022-11-18 00:01:23 +01:00
Alex bf988bec2f
Full encode/decode example 2022-11-17 23:58:44 +01:00
Alex 79a6109403
Refactor and document crypto functions 2022-11-17 22:53:36 +01:00
Alex ab8c3e70c3
Begin working encoder 2022-11-17 17:55:50 +01:00
Alex dc5bcec658
improve 2022-11-17 16:56:55 +01:00
Alex 4d4f9336d6
Add crypto and documentation 2022-11-17 16:54:05 +01:00
Alex 2ae904cc8a
Optimize list_of_first 2022-11-17 15:10:14 +01:00
Alex c6e7a42b7e
Add 'allow_extra_keys' parameter to dict_of() and dict_of_opt() 2022-11-17 15:06:42 +01:00
Alex e1b6514f24
Fix clippy lints 2022-11-17 15:02:33 +01:00
Alex c507b592c3
Implement a bunch of accessors to help reading terms. 2022-11-17 14:58:27 +01:00
Alex 911da57d74
First commit including a decoder and a readme file 2022-11-17 11:48:43 +01:00