Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
enhancement, bug fix
Description
Switch all
#[cfg(debug)]
to#[cfg(feature = "debug")]
Update Node.js engine requirement to 20.19.3
Improve feature flag consistency for debug logging
Minor code maintenance and dependency update
Changes walkthrough 📝
lib.rs
Use feature flag for debug logging in lib.rs
shardus_net/src/lib.rs
#[cfg(debug)]
with#[cfg(feature = "debug")]
ring_buffer.rs
Feature-gate debug logging in ring_buffer.rs
shardus_net/src/ring_buffer.rs
#[cfg(debug)]
with#[cfg(feature = "debug")]
for loggingshardus_net_sender.rs
Feature-gate debug logging in shardus_net_sender.rs
shardus_net/src/shardus_net_sender.rs
#[cfg(debug)]
with#[cfg(feature = "debug")]
package.json
Upgrade Node.js engine version in package.json
package.json