From 42d1485e116cb1fd8ca0ce707e0d7271c1cbc41d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dr=2E=20Patrick=20Urbanke=20=28=E5=8A=89=E8=87=AA=E6=88=90?= =?UTF-8?q?=29?= Date: Sun, 12 Jan 2025 20:54:51 +0100 Subject: [PATCH] [reflectcpp] Update to 0.17.0 (#43135) --- ports/reflectcpp/portfile.cmake | 4 +++- ports/reflectcpp/vcpkg.json | 22 ++++++++++++++++++++-- versions/baseline.json | 2 +- versions/r-/reflectcpp.json | 5 +++++ 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/ports/reflectcpp/portfile.cmake b/ports/reflectcpp/portfile.cmake index df098f72af8283..f0366776daca3c 100644 --- a/ports/reflectcpp/portfile.cmake +++ b/ports/reflectcpp/portfile.cmake @@ -2,7 +2,7 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO getml/reflect-cpp REF "v${VERSION}" - SHA512 9c5034e6d964a1ae817cb14e4cd0d19ccb69e703affd8c070105ace63f2f0f59079ae450c1de7a19d3e35faf471dcd5e4bbd56cd3f0594f23059dfc45f622ac0 + SHA512 ed2773542871c03c62e06a522e80371f6692de00598f865b82b6df408d7b0cf5e7d66bc39a66848e3682b4d22300ef3079f0ccc77e8a2364bca476a8e229c5b8 HEAD_REF main ) @@ -14,6 +14,8 @@ string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" REFLECTCPP_BUILD_SHARE vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS FEATURES bson REFLECTCPP_BSON + capnproto REFLECTCPP_CAPNPROTO + cbor REFLECTCPP_CBOR flexbuffers REFLECTCPP_FLEXBUFFERS msgpack REFLECTCPP_MSGPACK ubjson REFLECTCPP_UBJSON diff --git a/ports/reflectcpp/vcpkg.json b/ports/reflectcpp/vcpkg.json index 98e1eb0bd7f504..4217497c6302e8 100644 --- a/ports/reflectcpp/vcpkg.json +++ b/ports/reflectcpp/vcpkg.json @@ -1,7 +1,7 @@ { "name": "reflectcpp", - "version": "0.16.0", - "description": "A C++ library for serialization and deserialization using reflection.", + "version": "0.17.0", + "description": "A C++ library for serialization and deserialization using reflection. Supports JSON, Avro, BSON, Cap'n Proto, CBOR, flexbuffers, msgpack, TOML, UBJSON, XML, YAML.", "homepage": "https://github.com/getml/reflect-cpp/", "license": "MIT", "dependencies": [ @@ -32,6 +32,24 @@ } ] }, + "capnproto": { + "description": "Support for the Cap'n Proto format", + "dependencies": [ + { + "name": "capnproto", + "version>=": "1.0.2#1" + } + ] + }, + "cbor": { + "description": "Support for the CBOR format", + "dependencies": [ + { + "name": "jsoncons", + "version>=": "0.176.0" + } + ] + }, "flexbuffers": { "description": "Support for the flexbuffers format (part of flatbuffers)", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index 1691d227e4db54..aa98d64b470afb 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7925,7 +7925,7 @@ "port-version": 0 }, "reflectcpp": { - "baseline": "0.16.0", + "baseline": "0.17.0", "port-version": 0 }, "refprop-headers": { diff --git a/versions/r-/reflectcpp.json b/versions/r-/reflectcpp.json index ae65e3b937cb04..3f9a3e23c0a6e0 100644 --- a/versions/r-/reflectcpp.json +++ b/versions/r-/reflectcpp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "dc58776e504b255655dea0ad59f953f66a9c66d1", + "version": "0.17.0", + "port-version": 0 + }, { "git-tree": "18558577ba05cafc84ff2d0e89eb712297411da9", "version": "0.16.0",