Releases: jimporter/bencode.hpp
Releases · jimporter/bencode.hpp
v1.0.1
v1.0.0
bencode.hpp v1.0.0 has been released!
New features
- Use
std::variant
by default (thus requiring C++17 or newer) - Allow customizing the variant type used via
bencode::basic_data
- Improve performance of
decode
; decoding is now ~2x as fast for most data (~1.5x when using views)! - When unable to decode data, throw
bencode::decode_error
with the offset where the error occurred
Bug fixes
- Parse bencoded data iteratively to prevent stack buffer overflows
- Throw exceptions for integer over/underflow
v0.2.1
v0.2
bencode.hpp v0.2 has been released! In addition to source distributions here, it's available in an Ubuntu PPA: ppa:jimporter/stable.
Changes
- Use
std::string_view
if available - Install a
pkg-config
.pc
file that sets the compiler's include path as needed