Skip to content

Releases: althonos/uniprot.rs

v0.7.0

18 Oct 17:13
Compare
Choose a tag to compare

Added

  • smartstring feature for using the smartstring crate to reduce heap allocations.

Changed

  • Reduce default sleep duration to reduce strain on CPU.
  • Update quick-xml dependency to v0.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

17 Oct 12:26
Compare
Choose a tag to compare

Removed

  • Deprecated CalciumBindingRegion, MetalIonBindingSite and NucleotidePhosphateBindingRegion variants of uniprot::FeatureType.

Added

  • uniprot::Ligand and uniprot::LigandPart structs for the ligand and ligand_part attributes of uniprot::Feature.

Changed

  • Updated URLs in documentation examples to use the new Uniprot REST API.
  • Moved the uniref::parse_entry example to uniref::parse since single-entry requests to UniRef don't return single entries anymore.

v0.5.2

28 Feb 14:53
Compare
Choose a tag to compare

Added

  • PartialEq, Eq, Hash and Clone traits to simple enum types (like uniprot::uniprot::FeatureType).

Changed

  • Feature gate the url crate dependency to skip parsing links into url::Url if not needed.
  • Remove dependency on thiserror by manually implementing std::error::Error where needed.

0.5.1

11 Jan 17:24
Compare
Choose a tag to compare

Fixed

  • Large test files being included in distributed crates.io source package.

0.5.0

11 Jan 15:07
Compare
Choose a tag to compare

Added

  • parse_entry functions to parse a single UniProt, UniParc or UniRef entry.

Fixed

  • Parsing of creation dates with a defined timezone (e.g. 2021-01-11Z).

0.4.0

24 Jul 13:23
Compare
Choose a tag to compare

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

19 Jan 21:24
v0.3.1
Compare
Choose a tag to compare

Changed

  • lazy_static and num_cpus are only required ot build with threading feature.
  • Slightly improved performance of ThreadedParser.

0.3.0

19 Jan 15:50
v0.3.0
Compare
Choose a tag to compare

Added

Changed

  • ThreadedParser does not required the reader to be Send + 'static anymore.

0.2.0

18 Jan 18:06
v0.2.0
Compare
Choose a tag to compare

Added

  • Implemented multithreading parser using crossbeam-channel, which can be removed by disabling the threading feature.
  • Improved documentation of ::error and ::parser modules.

Fixed

  • Missing implementation of submittedName deserialization within protein entries that crashed on TrEMBL.

0.1.1

15 Jan 21:21
v0.1.1
Compare
Choose a tag to compare

Changed

  • Removed remaining explicit panic! calls.

Added

  • FromStr implementation for some enum types that are read from XML attributes.