-
Notifications
You must be signed in to change notification settings - Fork 6
Coderabbit fixes for PR 34 #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
2a3a68d
445326f
bc40e30
ac4180d
fa821e1
f71d5b0
49b6230
142da22
e9d9abd
af327b5
99e4751
53c9a8b
2d1dc5a
2026a57
3e7add6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,9 @@ | ||
| /.vscode/ | ||
| /.cache/ | ||
| /.clangd | ||
| /build/* | ||
| !/build/Jamfile | ||
| !/build/wolfssl.jam | ||
| /out/ | ||
| CMakeUserPresets.json | ||
| /CMakeUserPresets.json | ||
| /tmpclaude-*-cwd |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Allowlist for gitleaks secret scanning | ||
| # | ||
| # test/unit/tls/test_utils.hpp contains embedded test certificates and | ||
| # private keys from Boost.Beast for TLS unit testing. These are intentional | ||
| # test credentials documented in-code, not production secrets. | ||
|
|
||
| test/unit/tls/test_utils.hpp |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,41 @@ | ||||||||||
| [width="100%",cols="7%,66%,27%",options="header",] | ||||||||||
| |=== | ||||||||||
|
|
||||||||||
| |Branch | ||||||||||
| |https://github.com/cppalliance/corosio/tree/master[`master`] | ||||||||||
| |https://github.com/cppalliance/corosio/tree/develop[`develop`] | ||||||||||
|
|
||||||||||
| |https://develop.corosio.cpp.al/[Docs] | ||||||||||
| |https://master.corosio.cpp.al/[image:https://img.shields.io/badge/docs-master-brightgreen.svg[Documentation]] | ||||||||||
| |https://develop.corosio.cpp.al/[image:https://img.shields.io/badge/docs-develop-brightgreen.svg[Documentation]] | ||||||||||
|
|
||||||||||
| |https://github.com/[GitHub Actions] | ||||||||||
MungoG marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||
| |https://github.com/cppalliance/corosio/actions/workflows/ci.yml?query=branch%3Amaster[image:https://github.com/cppalliance/corosio/actions/workflows/ci.yml/badge.svg?branch=master[CI]] | ||||||||||
| |https://github.com/cppalliance/corosio/actions/workflows/ci.yml?query=branch%3Adevelop[image:https://github.com/cppalliance/corosio/actions/workflows/ci.yml/badge.svg?branch=develop[CI]] | ||||||||||
|
|
||||||||||
|
|
||||||||||
| |https://drone.io/[Drone] | ||||||||||
| |https://drone.cpp.al/cppalliance/corosio/branches[image:https://drone.cpp.al/api/badges/cppalliance/corosio/status.svg?ref=refs/heads/master[Build Status]] | ||||||||||
| |https://drone.cpp.al/cppalliance/corosio/branches[image:https://drone.cpp.al/api/badges/cppalliance/corosio/status.svg?ref=refs/heads/develop[Build Status]] | ||||||||||
|
|
||||||||||
| |https://codecov.io[Codecov] | ||||||||||
| |https://app.codecov.io/gh/cppalliance/corosio/tree/master[image:https://codecov.io/gh/cppalliance/corosio/branch/master/graph/badge.svg[codecov]] | ||||||||||
| |https://app.codecov.io/gh/cppalliance/corosio/tree/develop[image:https://codecov.io/gh/cppalliance/corosio/branch/develop/graph/badge.svg[codecov]] | ||||||||||
|
|
||||||||||
| |=== | ||||||||||
|
|
||||||||||
| == Boost.Corosio | ||||||||||
|
|
||||||||||
| Boost.Corosio is a coroutine-first I/O library for C++20 that provides | ||||||||||
| asynchronous networking primitives with automatic executor affinity propagation. | ||||||||||
|
|
||||||||||
| Corosio provides asynchronous I/O operations designed from the ground up for | ||||||||||
| C++20 coroutines. Every operation returns an awaitable that integrates with | ||||||||||
| the _affine awaitable protocol_, ensuring your coroutines resume on the correct | ||||||||||
| executor without manual dispatch. | ||||||||||
|
|
||||||||||
| === License | ||||||||||
|
|
||||||||||
| Distributed under the Boost Software License, Version 1.0. | ||||||||||
| (See accompanying file [LICENSE_1_0.txt](LICENSE_1_0.txt) or copy at | ||||||||||
| https://www.boost.org/LICENSE_1_0.txt) | ||||||||||
|
Comment on lines
+40
to
+41
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mixed Markdown and AsciiDoc syntax. The license file link uses Markdown syntax Suggested fix-(See accompanying file [LICENSE_1_0.txt](LICENSE_1_0.txt) or copy at
+(See accompanying file link:LICENSE_1_0.txt[LICENSE_1_0.txt] or copy at📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: cppalliance/corosio
Length of output: 327
🏁 Script executed:
Repository: cppalliance/corosio
Length of output: 1437
🏁 Script executed:
Repository: cppalliance/corosio
Length of output: 831
🏁 Script executed:
Repository: cppalliance/corosio
Length of output: 79
🏁 Script executed:
Repository: cppalliance/corosio
Length of output: 140
🌐 Web query:
CMake find_package(OpenSSL) module mode vs config mode OPENSSL_FOUND vs OpenSSL_FOUND💡 Result:
Short answer
Recommendation (minimal)
target_link_libraries(myTarget PRIVATE OpenSSL::SSL OpenSSL::Crypto)
if(OpenSSL_FOUND)
...
elseif(OPENSSL_FOUND) # for older CMake compatibility
...
endif()
(cmake.org)
Citations:
Use target checking instead of OPENSSL_FOUND variable.
find_package(OpenSSL)in config mode setsOpenSSL_FOUND(mixed-case), notOPENSSL_FOUND(all-caps). The current guard prevents OpenSSL support when using config-mode packages. Check targets instead, since the code already depends on them and target checks work with both module and config modes.🛠️ Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents