Skip to content

Releases: fbdtemme/bencode

bencode v0.5.0

17 Jan 10:30
Compare
Choose a tag to compare

Changes:

  • More consistent naming by changing event_consumer methods from (begin|end)_(list|dict)
    to (begin|end)_(list|dict).
  • Add more benchmarks.
  • Disable contract checks in release build for improved performance.
  • Fix parsing from a pair of InputItererators.
  • Add string_parsing_mode options to push_parser to allow parsing strings to string_view.
  • Add experimental SSE4.1 and AVX2 integer parsing backends. Enable SWAR integer parsing by default.
  • Add limited std::span serialization/deserialization support.

bencode v0.4.0

27 Dec 10:39
Compare
Choose a tag to compare

Changes

  • Reworked parser internals for increased decoding speed.
  • SWAR optimizations for fast integer decoding.
  • Switch benchmarks to google/benchmark for more consistent results.
  • Add benchmark with arvidn/libtorrent.
  • Change gsl-lite to gsl-lite-v1.

bencode v0.3.0

07 Dec 14:42
Compare
Choose a tag to compare

Changes

  • Add support for std::shared_ptr, std::unique_ptr, std::weak_ptr and raw pointers.
  • Add event_connector.
  • Add comparison to jimporter/bencode benchmark.

bencode v0.2.0

06 Sep 12:31
Compare
Choose a tag to compare

Changes:

  • make descriptor_table::get_root const qualified.
  • rename conversion_error to bad_conversion.
  • rename format_json_to to encode_json_to
  • throw bencode::out_of_range instead of std::out_of_range
  • add accessor functions to bview similar to the accessor functions of basic_bvalue:
    • at(std::size_t)
    • at(std::string_view)
    • operator[](std::size_t)
    • front()
    • back()
  • add bpointer: a bencode pointer similar to json pointers.

bencode v0.1.1

24 Aug 17:36
Compare
Choose a tag to compare

Changes:

  • Fix invalid output of events::debug_to for lists and dicts.
  • Replace macro BENCODE_SERIALIZES_TO_DICT by BENCODE_SERIALIZES_TO_DICT_SORTED
    and BENCODE SERIALIZED_TO_DICT_UNSORTED. serializes_to_dict
    now takes an enum non-type template argument dict_key_order
    to indicate if the dict default iteration order is sorted or not.
  • Fix various event producing compilation errors.

bencode v0.1.0

23 Aug 13:16
Compare
Choose a tag to compare

Initial release.