Skip to content

Comments

v0.20.0: full refactor#28

Merged
shellrow merged 1 commit intomainfrom
dev
Jul 6, 2025
Merged

v0.20.0: full refactor#28
shellrow merged 1 commit intomainfrom
dev

Conversation

@shellrow
Copy link
Owner

@shellrow shellrow commented Jul 6, 2025

Full Refactor (Breaking Changes)

Core Changes

  • Overall codebase refactor across all crates for clarity and consistency.
  • nex-datalink: Some refactoring for linux
  • nex-packet:
    • All protocol packet structures are now fully implemented as strongly-typed structs.
    • Macro-based parsing logic has been eliminated for better transparency and testability.
    • Packet builders are now integrated directly into nex-packet, unifying construction and parsing logic.
  • nex-socket:
    • Introduced separate Socket structs for TCP, UDP, and ICMP.
    • All socket types are now async-compatible with tokio.
    • Refactored with clear ownership and connection flow patterns.

Testing and Examples

  • Added comprehensive tests and real-world examples

@shellrow shellrow merged commit 52e4558 into main Jul 6, 2025
3 checks passed
@shellrow shellrow deleted the dev branch July 6, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant