Releases: althonos/uniprot.rs
Releases · althonos/uniprot.rs
v0.7.0
Added
smartstring
feature for using thesmartstring
crate to reduce heap allocations.
Changed
- 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
.
Fixed
- Broken extraction of names in
Citation::from_xml
Removed
- Unused
fnv
dependency. - Deprecated
uniprot::parse
top-level function.
v0.6.0
Removed
- Deprecated
CalciumBindingRegion
,MetalIonBindingSite
andNucleotidePhosphateBindingRegion
variants ofuniprot::FeatureType
.
Added
uniprot::Ligand
anduniprot::LigandPart
structs for theligand
andligand_part
attributes ofuniprot::Feature
.
Changed
- 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
Added
PartialEq
,Eq
,Hash
andClone
traits to simple enum types (likeuniprot::uniprot::FeatureType
).
Changed
- 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.
0.5.1
0.5.0
0.4.0
Added
uniprot::uniref
module to parse UniRef XML files.uniprot::uniparc
module to parse UniParc XML files.
Changed
- Moved types to parse UniProt XML files to the
uniprot::uniprot
module.
Fixed
- Parsers now check the name of the root element before starting to parse the entries.
0.3.1
0.3.0
Added
ThreadedParser::with_threads
constructor to control the number of threads to spawn when parsing
Changed
ThreadedParser
does not required the reader to beSend + 'static
anymore.
0.2.0
Added
- Implemented multithreading parser using
crossbeam-channel
, which can be removed by disabling thethreading
feature. - Improved documentation of
::error
and::parser
modules.
Fixed
- Missing implementation of
submittedName
deserialization withinprotein
entries that crashed on TrEMBL.