All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.7.0 - 2023-10-18
smartstring
feature for using thesmartstring
crate to reduce heap allocations.
- Reduce default sleep duration to reduce strain on CPU.
- Update
quick-xml
dependency tov0.30.0
. - Use a dedicated producer thread to read data from the reader in
ThreadedParser
.
- Broken extraction of names in
Citation::from_xml
- Unused
fnv
dependency. - Deprecated
uniprot::parse
top-level function.
v0.6.0 - 2022-10-17
- Deprecated
CalciumBindingRegion
,MetalIonBindingSite
andNucleotidePhosphateBindingRegion
variants ofuniprot::FeatureType
.
uniprot::Ligand
anduniprot::LigandPart
structs for theligand
andligand_part
attributes ofuniprot::Feature
.
- Updated URLs in documentation examples to use the new Uniprot REST API.
- Moved the
uniref::parse_entry
example touniref::parse
since single-entry requests to UniRef don't return single entries anymore.
v0.5.2 - 2022-02-28
PartialEq
,Eq
,Hash
andClone
traits to simple enum types (likeuniprot::uniprot::FeatureType
).
- Feature gate the
url
crate dependency to skip parsing links intourl::Url
if not needed. - Remove dependency on
thiserror
by manually implementingstd::error::Error
where needed.
v0.5.1 - 2022-01-11
- Large test files being included in distributed
crates.io
source package.
v0.5.0 - 2022-01-11
parse_entry
functions to parse a single UniProt, UniParc or UniRef entry.
- Parsing of creation dates with a defined timezone (e.g.
2021-01-11Z
).
v0.4.0 - 2021-07-24
uniprot::uniref
module to parse UniRef XML files.uniprot::uniparc
module to parse UniParc XML files.
- Moved types to parse UniProt XML files to the
uniprot::uniprot
module.
- Parsers now check the name of the root element before starting to parse the entries.
v0.3.1 - 2020-01-19
lazy_static
andnum_cpus
are only required ot build withthreading
feature.- Slightly improved performance of
ThreadedParser
.
v0.3.0 - 2020-01-19
ThreadedParser::with_threads
constructor to control the number of threads to spawn when parsing
ThreadedParser
does not required the reader to beSend + 'static
anymore.
v0.2.0 - 2020-01-18
- Implemented multithreading parser using
crossbeam-channel
, which can be removed by disabling thethreading
feature. - Improved documentation of
::error
and::parser
modules.
- Missing implementation of
submittedName
deserialization withinprotein
entries that crashed on TrEMBL.
v0.1.1 - 2020-01-15
- Removed remaining explicit
panic!
calls.
FromStr
implementation for some enum types that are read from XML attributes.
v0.1.0 - 2020-01-15
Initial release.