diff --git a/modules/boost.beast/1.83.0/MODULE.bazel b/modules/boost.beast/1.83.0/MODULE.bazel new file mode 100644 index 00000000000..68a2c216212 --- /dev/null +++ b/modules/boost.beast/1.83.0/MODULE.bazel @@ -0,0 +1,29 @@ +module( + name = "boost.beast", + version = "1.83.0", + bazel_compatibility = [">=7.2.1"], + compatibility_level = 108300, +) + +bazel_dep(name = "boost.asio", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.assert", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.bind", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.config", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.container_hash", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.container", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.core", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.endian", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.intrusive", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.logic", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.mp11", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.optional", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.preprocessor", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.smart_ptr", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.static_assert", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.static_string", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.system", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.throw_exception", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.type_index", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.type_traits", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.winapi", version = "1.83.0.bcr.1") +bazel_dep(name = "rules_cc", version = "0.0.17") diff --git a/modules/boost.beast/1.83.0/overlay/BUILD.bazel b/modules/boost.beast/1.83.0/overlay/BUILD.bazel new file mode 100644 index 00000000000..8ed827b9f4b --- /dev/null +++ b/modules/boost.beast/1.83.0/overlay/BUILD.bazel @@ -0,0 +1,126 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "boost.beast", + srcs = [ + "build_beast.cpp", + ], + hdrs = glob( + [ + "include/**/*.hpp", + "include/**/*.ipp", + ], + exclude = [ + "include/boost/beast/_experimental/http/impl/icy_stream.hpp", + "include/boost/beast/_experimental/test/detail/stream_state.ipp", + "include/boost/beast/_experimental/test/impl/error.hpp", + "include/boost/beast/_experimental/test/impl/stream.hpp", + "include/boost/beast/core/detail/bind_default_executor.hpp", + "include/boost/beast/core/detail/buffer_traits.hpp", + "include/boost/beast/core/detail/buffers_pair.hpp", + "include/boost/beast/core/detail/impl/read.hpp", + "include/boost/beast/core/detail/remap_post_to_defer.hpp", + "include/boost/beast/core/detail/service_base.hpp", + "include/boost/beast/core/detail/static_ostream.hpp", + "include/boost/beast/core/detail/stream_base.hpp", + "include/boost/beast/core/detail/work_guard.hpp", + "include/boost/beast/core/impl/async_base.hpp", + "include/boost/beast/core/impl/basic_stream.hpp", + "include/boost/beast/core/impl/buffered_read_stream.hpp", + "include/boost/beast/core/impl/buffers_cat.hpp", + "include/boost/beast/core/impl/buffers_prefix.hpp", + "include/boost/beast/core/impl/buffers_suffix.hpp", + "include/boost/beast/core/impl/error.hpp", + "include/boost/beast/core/impl/flat_buffer.hpp", + "include/boost/beast/core/impl/flat_static_buffer.hpp", + "include/boost/beast/core/impl/flat_stream.hpp", + "include/boost/beast/core/impl/multi_buffer.hpp", + "include/boost/beast/core/impl/read_size.hpp", + "include/boost/beast/core/impl/saved_handler.hpp", + "include/boost/beast/core/impl/static_buffer.hpp", + "include/boost/beast/core/impl/string_param.hpp", + "include/boost/beast/http/detail/rfc7230.hpp", + "include/boost/beast/http/detail/rfc7230.ipp", + "include/boost/beast/http/impl/error.hpp", + "include/boost/beast/websocket/impl/error.hpp", + "include/boost/beast/zlib/impl/error.hpp", + "include/boost/beast/http/detail/type_traits.hpp", + "include/boost/beast/http/impl/basic_parser.hpp", + "include/boost/beast/http/impl/field.ipp", + "include/boost/beast/http/impl/parser.hpp", + "include/boost/beast/http/impl/chunk_encode.hpp","include/boost/beast/http/detail/rfc7230.hpp", + ], + ), + defines = [ + "BOOST_BEAST_SEPARATE_COMPILATION", + #"BOOST_BEAST_USE_STD_STRING_VIEW", + #"BOOST_NO_CXX17_HDR_STRING_VIEW", + ], + features = [ + "parse_headers", + ], + includes = ["include"], + textual_hdrs = [ + "include/boost/beast/http/impl/field.ipp", + "include/boost/beast/_experimental/http/impl/icy_stream.hpp", + "include/boost/beast/http/detail/type_traits.hpp", + "include/boost/beast/_experimental/test/detail/stream_state.ipp", + "include/boost/beast/http/impl/basic_parser.hpp", + "include/boost/beast/_experimental/test/impl/error.hpp", + "include/boost/beast/http/impl/parser.hpp", + "include/boost/beast/http/impl/chunk_encode.hpp", + "include/boost/beast/_experimental/test/impl/stream.hpp", + "include/boost/beast/core/detail/bind_default_executor.hpp", + "include/boost/beast/core/detail/buffer_traits.hpp", + "include/boost/beast/core/detail/buffers_pair.hpp", + "include/boost/beast/core/detail/impl/read.hpp", + "include/boost/beast/core/detail/remap_post_to_defer.hpp", + "include/boost/beast/core/detail/service_base.hpp", + "include/boost/beast/core/detail/stream_base.hpp", + "include/boost/beast/core/detail/work_guard.hpp", + "include/boost/beast/core/impl/async_base.hpp", + "include/boost/beast/core/impl/basic_stream.hpp", + "include/boost/beast/core/impl/buffered_read_stream.hpp", + "include/boost/beast/core/impl/buffers_cat.hpp", + "include/boost/beast/core/impl/buffers_prefix.hpp", + "include/boost/beast/core/impl/buffers_suffix.hpp", + "include/boost/beast/core/impl/error.hpp", + "include/boost/beast/core/impl/flat_buffer.hpp", + "include/boost/beast/core/impl/flat_static_buffer.hpp", + "include/boost/beast/core/impl/flat_stream.hpp", + "include/boost/beast/core/impl/multi_buffer.hpp", + "include/boost/beast/core/impl/read_size.hpp", + "include/boost/beast/core/impl/saved_handler.hpp", + "include/boost/beast/core/impl/static_buffer.hpp", + "include/boost/beast/http/detail/rfc7230.hpp", + "include/boost/beast/http/detail/rfc7230.ipp", + "include/boost/beast/http/impl/error.hpp", + "include/boost/beast/websocket/impl/error.hpp", + "include/boost/beast/zlib/impl/error.hpp", + ], + deps = [ + "@boost.asio", + "@boost.assert", + "@boost.bind", + "@boost.config", + "@boost.container", + "@boost.container_hash", + "@boost.core", + "@boost.endian", + "@boost.intrusive", + "@boost.logic", + "@boost.mp11", + "@boost.optional", + "@boost.preprocessor", + "@boost.smart_ptr", + "@boost.static_assert", + "@boost.static_string", + "@boost.system", + "@boost.throw_exception", + "@boost.type_index", + "@boost.type_traits", + "@boost.winapi", + ], +) diff --git a/modules/boost.beast/1.83.0/overlay/MODULE.bazel b/modules/boost.beast/1.83.0/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/boost.beast/1.83.0/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/boost.beast/1.83.0/presubmit.yml b/modules/boost.beast/1.83.0/presubmit.yml new file mode 100644 index 00000000000..dad9c5c88b0 --- /dev/null +++ b/modules/boost.beast/1.83.0/presubmit.yml @@ -0,0 +1,20 @@ +matrix: + platform: + #- debian10 + #- debian11 + #- macos + #- macos_arm64 + #- ubuntu2004 + #- ubuntu2204 + - ubuntu2404 + - windows + bazel: [7.x, 8.x, rolling] +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_flags: + - '--process_headers_in_dependencies' + build_targets: + - '@boost.beast//:boost.beast' diff --git a/modules/boost.beast/1.83.0/source.json b/modules/boost.beast/1.83.0/source.json new file mode 100644 index 00000000000..95087baa58f --- /dev/null +++ b/modules/boost.beast/1.83.0/source.json @@ -0,0 +1,10 @@ +{ + "integrity": "sha256-mwWy8hmRe+ToiX74I7k3qZNKGPKCUWcfWVlubZNQ+Gw=", + "strip_prefix": "beast-boost-1.83.0", + "url": "https://github.com/boostorg/beast/archive/refs/tags/boost-1.83.0.tar.gz", + "patch_strip": 0, + "overlay": { + "BUILD.bazel": "sha256-gRH1QsOf7yTpVNKbhQYcszIczzEltDW+GSR0qtzHM1g=", + "MODULE.bazel": "sha256-mudteegVwf64F1oBP5rgxIoDBmuomhcik/ZuONbTDUw=" + } +} diff --git a/modules/boost.beast/metadata.json b/modules/boost.beast/metadata.json new file mode 100644 index 00000000000..ba1b2a900ab --- /dev/null +++ b/modules/boost.beast/metadata.json @@ -0,0 +1,22 @@ +{ + "homepage": "http://boost.org/libs/beast", + "maintainers": [ + { + "email": "daisuke.nishimatsu1021@gmail.com", + "github": "wep21", + "name": "Daisuke Nishimatsu" + }, + { + "email": "julian.amann@tum.de", + "github": "Vertexwahn", + "name": "Julian Amann" + } + ], + "repository": [ + "github:boostorg/beast" + ], + "versions": [ + "1.83.0" + ], + "yanked_versions": {} +}