douweschulte / pdbtbx

A library to open/edit/save (crystallographic) Protein Data Bank (PDB) and mmCIF files in Rust.
https://crates.io/crates/pdbtbx
MIT License
54 stars 17 forks source link

Ow/gz #111

Closed OWissett closed 1 year ago

OWissett commented 1 year ago

Added gz support for both mmCIF and PDB files.

Compression is now an optional feature, which is on by default. We are using the Flate2 crate for gz stream de/compression.

Also did some refactoring of the serialisation boilerplate in the save module.

OWissett commented 1 year ago

99

douweschulte commented 1 year ago

Looks very nice! The refactoring looks perfect.