David Drysdale
1cee2414f4
fixup: more comparisons, re-order tests slightly
2021-06-17 10:33:36 +02:00
David Drysdale
fbe68b55cd
cbor: support tagged values
2021-06-17 10:33:36 +02:00
David Drysdale
3aca5fbc74
cbor: prepare for publishing as standalone crate
...
- Add an example of usage
- Add a minimal README, including the example code
- Document public items
- Add more info to Cargo.toml
2021-06-16 17:16:05 +02:00
David Drysdale
f2812e4fe2
cbor: drop std feature, use core in tests ( #327 )
2021-06-16 15:40:18 +02:00
kaczmarczyck
9a1c060234
Remove KeyType from CBOR ( #306 )
...
* removes KeyType from CBOR
* type_label usage in writer
2021-04-14 10:19:10 +02:00
kaczmarczyck
78b7767682
CBOR maps use Vec instead of BTreeMap ( #303 )
...
* CBOR uses Vec for map internally
* remove BTreeMap from get_info
* rename cbor_map_btree and clean up cbor_array_vec
* destructure now takes Vec, not BTreeMap
* adds dedup in CBOR writer
* fail to write CBOR maps with duplicates
* CBOR interface refinements
* macro documentation for CBOR map and array
2021-04-13 14:46:28 +02:00
Guillaume Endignoux
85a34ad085
Migrate import statements and macros to Rust 2018.
2020-09-24 11:28:24 +02:00
Jean-Michel Picod
f91d2fd3db
Initial commit
2020-01-30 11:47:29 +01:00