mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-22 16:02:30 +02:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
63511f29db | ||
![]() |
ff707d8fb5 | ||
![]() |
2c832ff91a | ||
![]() |
e596b6fe35 | ||
![]() |
34e411436b | ||
![]() |
b4d800e6e4 |
@@ -1,3 +1,7 @@
|
|||||||
|
# 2022-03-09 version 4.1.1 for C++
|
||||||
|
* Remove chrono support on `MSGPACK_NO_BOOST` to fix compile error.
|
||||||
|
* Improve build system (#1003)
|
||||||
|
|
||||||
# 2022-02-12 version 4.1.0 for C++
|
# 2022-02-12 version 4.1.0 for C++
|
||||||
* Add experimental support for no boost dependency (#1001)
|
* Add experimental support for no boost dependency (#1001)
|
||||||
* For cmake, add `-DMSGPACK_USE_BOOST=OFF`. For C++ compiler add `-DMSGPACK_NO_BOOST`.
|
* For cmake, add `-DMSGPACK_USE_BOOST=OFF`. For C++ compiler add `-DMSGPACK_NO_BOOST`.
|
||||||
|
@@ -191,6 +191,8 @@ IF (MSGPACK_BUILD_DOCS)
|
|||||||
ENDIF ()
|
ENDIF ()
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
|
include (GNUInstallDirs)
|
||||||
|
|
||||||
# Install library.
|
# Install library.
|
||||||
INSTALL (TARGETS msgpackc-cxx
|
INSTALL (TARGETS msgpackc-cxx
|
||||||
EXPORT msgpackc-cxx-targets
|
EXPORT msgpackc-cxx-targets
|
||||||
@@ -211,7 +213,7 @@ INCLUDE (CMakePackageConfigHelpers)
|
|||||||
IF (NOT (CMAKE_VERSION VERSION_LESS 3.14))
|
IF (NOT (CMAKE_VERSION VERSION_LESS 3.14))
|
||||||
SET (extra_version_file_args ARCH_INDEPENDENT)
|
SET (extra_version_file_args ARCH_INDEPENDENT)
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
SET (cmake_config_path "lib/cmake/msgpackc-cxx")
|
SET (cmake_config_path "${CMAKE_INSTALL_LIBDIR}/cmake/msgpackc-cxx")
|
||||||
|
|
||||||
# Configure the main package file from source tree.
|
# Configure the main package file from source tree.
|
||||||
CONFIGURE_PACKAGE_CONFIG_FILE (
|
CONFIGURE_PACKAGE_CONFIG_FILE (
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
`msgpack` for C++
|
`msgpack` for C++
|
||||||
===================
|
===================
|
||||||
|
|
||||||
Version 4.1.0 [](https://github.com/msgpack/msgpack-c/actions) [](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/cpp_master)
|
Version 4.1.1 [](https://github.com/msgpack/msgpack-c/actions) [](https://ci.appveyor.com/project/redboltz/msgpack-c/branch/cpp_master)
|
||||||
[](https://codecov.io/gh/msgpack/msgpack-c/branch/cpp_master)
|
[](https://codecov.io/gh/msgpack/msgpack-c/branch/cpp_master)
|
||||||
|
|
||||||
It's like JSON but smaller and faster.
|
It's like JSON but smaller and faster.
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
version: 4.1.0.{build}
|
version: 4.1.1.{build}
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
@@ -36,7 +36,11 @@
|
|||||||
#include "adaptor/cpp11/array.hpp"
|
#include "adaptor/cpp11/array.hpp"
|
||||||
#include "adaptor/cpp11/array_char.hpp"
|
#include "adaptor/cpp11/array_char.hpp"
|
||||||
#include "adaptor/cpp11/array_unsigned_char.hpp"
|
#include "adaptor/cpp11/array_unsigned_char.hpp"
|
||||||
|
|
||||||
|
#if !defined(MSGPACK_NO_BOOST)
|
||||||
#include "adaptor/cpp11/chrono.hpp"
|
#include "adaptor/cpp11/chrono.hpp"
|
||||||
|
#endif // !defined(MSGPACK_NO_BOOST)
|
||||||
|
|
||||||
#include "adaptor/cpp11/forward_list.hpp"
|
#include "adaptor/cpp11/forward_list.hpp"
|
||||||
#include "adaptor/cpp11/reference_wrapper.hpp"
|
#include "adaptor/cpp11/reference_wrapper.hpp"
|
||||||
#include "adaptor/cpp11/shared_ptr.hpp"
|
#include "adaptor/cpp11/shared_ptr.hpp"
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
#define MSGPACK_VERSION_MAJOR 4
|
#define MSGPACK_VERSION_MAJOR 4
|
||||||
#define MSGPACK_VERSION_MINOR 1
|
#define MSGPACK_VERSION_MINOR 1
|
||||||
#define MSGPACK_VERSION_REVISION 0
|
#define MSGPACK_VERSION_REVISION 1
|
||||||
|
@@ -861,6 +861,8 @@ BOOST_AUTO_TEST_CASE(no_def_con_array_simple_buffer)
|
|||||||
BOOST_CHECK(val1 == val2);
|
BOOST_CHECK(val1 == val2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(MSGPACK_NO_BOOST)
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(system_clock)
|
BOOST_AUTO_TEST_CASE(system_clock)
|
||||||
{
|
{
|
||||||
std::chrono::system_clock::time_point val1;
|
std::chrono::system_clock::time_point val1;
|
||||||
@@ -1426,6 +1428,8 @@ BOOST_AUTO_TEST_CASE(high_resolution_clock_impl_now)
|
|||||||
BOOST_CHECK(val1 == val3);
|
BOOST_CHECK(val1 == val3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // !defined(MSGPACK_NO_BOOST)
|
||||||
|
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(timespec_pack_convert_zero)
|
BOOST_AUTO_TEST_CASE(timespec_pack_convert_zero)
|
||||||
{
|
{
|
||||||
|
@@ -917,6 +917,8 @@ BOOST_AUTO_TEST_CASE(tuple_empty)
|
|||||||
BOOST_CHECK(obj.as<test_t>() == v);
|
BOOST_CHECK(obj.as<test_t>() == v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(MSGPACK_NO_BOOST)
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(system_clock)
|
BOOST_AUTO_TEST_CASE(system_clock)
|
||||||
{
|
{
|
||||||
std::chrono::system_clock::time_point v;
|
std::chrono::system_clock::time_point v;
|
||||||
@@ -981,6 +983,8 @@ BOOST_AUTO_TEST_CASE(system_clock_impl_max)
|
|||||||
BOOST_CHECK(obj.as<std::chrono::system_clock::time_point>() == v);
|
BOOST_CHECK(obj.as<std::chrono::system_clock::time_point>() == v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // !defined(MSGPACK_NO_BOOST)
|
||||||
|
|
||||||
#endif // !defined(MSGPACK_USE_CPP03)
|
#endif // !defined(MSGPACK_USE_CPP03)
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(ext_empty)
|
BOOST_AUTO_TEST_CASE(ext_empty)
|
||||||
|
Reference in New Issue
Block a user