Skip to content

Commit 144c8d9

Browse files
author
Jim Porter
committed
Simplify encoding API and use variant instead of any for the data type
1 parent 10a5ba4 commit 144c8d9

File tree

4 files changed

+161
-233
lines changed

4 files changed

+161
-233
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# bencode.hpp
22

3-
**bencode.hpp** is a small, header-only C++ library for parsing
3+
**bencode.hpp** is a small, header-only C++ library for parsing and generating
44
[bencoded](https://en.wikipedia.org/wiki/Bencode) data.
55

66
## Requirements
77

8-
This library requires a C++11 compiler, plus either
9-
[Boost](http://www.boost.org/) 1.23+ or the [Library Fundamentals
10-
TS](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4480.html) (for
11-
the `any` type). The tests additionally require a C++14 compiler and
8+
This library requires a C++11 compiler and [Boost](http://www.boost.org/)
9+
1.23+. If your standard library includes the [Library Fundamentals
10+
TS](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4480.html)
11+
(specifically the `string_view` type), bencode.hpp will used that as well. In
12+
addition, the tests require a C++14 compiler and
1213
[mettle](https://jimporter.github.io/mettle/).
1314

1415
## Installation

0 commit comments

Comments
 (0)