dochy_compaction/
lib.rs

1
2/// Define the value type to serialize
3pub mod kval_enum;
4
5/// Details about the encoding and the decoding
6pub mod enc_dec;
7
8/// Convert bytes to the string which can be used as a part of URL and vice versa
9pub mod url_string;
10
11/// Compact integers and booleans
12pub mod basic_compaction;
13
14/// Compact strings if the string represents a number
15pub mod string_compaction;
16
17#[allow(unused_imports, dead_code)]
18#[cfg(test)]
19mod testing;
20
21
22
23pub use crate::enc_dec::encode::encode;
24pub use crate::enc_dec::decode::decode;
25pub use crate::enc_dec::encode_to_vec::encode_to_vec;
26pub use crate::enc_dec::decode_from_slice::decode_from_slice;
27
28
29
30