#json #networking #edcert #ed25519 #lzma

edcert-compressor

A crate to compress/decompress Edcert certificates

9 stable releases

Uses old Rust 2015

1.1.6 Oct 22, 2016
1.1.5 Apr 5, 2016
1.0.0 Mar 28, 2016
0.1.1 Mar 21, 2016

#16 in #lzma

MIT license

17KB
261 lines

Build Status

This is the compressor module for my crate "Edcert". Edcert is a digital signature crate for signing/verifying content based on cryptography.

This crate uses JSON and LZMA to compress the Edcert certificates so they can be saved and/or sent over the network.


lib.rs:

This crate defines two structs: A CertificateCompressor which JSON-encodes a given certificate and then uses LZMA to compress it. It should have similar size to a custom binary encoder. The other defined struct is a CertificateLoader, which does the exact opposite.

Dependencies

~24MB
~199K SLoC