Skip to content

Commit 4051e01

Browse files
Noting the shared_buffer dependency
1 parent c6f139a commit 4051e01

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ project ( binary_serialize
2323
add_library ( binary_serialize INTERFACE )
2424
add_library ( chops::binary_serialize ALIAS binary_serialize )
2525

26+
# dependencies needed for main library
27+
28+
include ( cmake/download_cpm.cmake )
29+
CPMAddPackage ( "gh:connectivecpp/shared-buffer@1.0.4" )
30+
2631
# configure library target
2732

2833
target_include_directories ( binary_serialize INTERFACE

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The generated Doxygen documentation for `binary_serialize` is [here](https://con
6363

6464
## Library Dependencies
6565

66-
The `binary_serialize` header files do not have any third-party dependencies. It uses C++ standard library headers only. The unit test code does have dependencies as noted below.
66+
The [`shared_buffer`](https://github.com/connectivecpp/shared-buffer) library from Connective C++ is a dependency, providing reference counted `std::byte` buffers, but only as a default template argument for certain serialization functions.
6767

6868
## C++ Standard
6969

include/serialize/binary_serialize.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
*
107107
* @author Cliff Green
108108
*
109-
* @copyright (c) 2019-2024 by Cliff Green
109+
* @copyright (c) 2019-2025 by Cliff Green
110110
*
111111
* Distributed under the Boost Software License, Version 1.0.
112112
* (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

0 commit comments

Comments
 (0)