Crates.io | tuple_key |
lib.rs | tuple_key |
version | 0.11.0 |
source | src |
created_at | 2023-06-25 18:40:23.549409 |
updated_at | 2024-12-04 14:35:37.521554 |
description | A serialization format for lexicographically sorted tuples. |
homepage | |
repository | https://github.com/rescrv/blue |
max_upload_size | |
id | 899744 |
size | 65,270 |
A serialization format for lexicographically sorted tuples. The keys have the property that any TypedTupleKey that implements lexicographically sorted Ord, PartialOrd traits in field declaration order will serialize to a valid byte string that sorts in the same way.
Active development. This library has seen recent changes to match the types of keys supported by protobuf maps. Version 0.4 reset the serialization in backwards-incompatible ways.
This crate provides everything necessary to convert a struct to and from a tuple key.
The latest documentation is always available at docs.rs.