Skip to content

Architecture

Andrew Paolucci edited this page Nov 26, 2026 · 1 revision

Workspace Architecture (net2rust)

net2rust is structured as an 11-crate Cargo workspace (edition = "2024", resolver 2) layered on guap-kit.

flowchart LR
    CORE["net2rust-core<br/>Offline Fixtures, PCAP/ETL Routing,<br/>Redaction & Policy Contracts"]
    SOCK["net2rust-sockets<br/>13 Socket, Route, Neighbor, ETW Tools"]
    CAP["net2rust-capture<br/>11 Packet Capture & Dissector Tools"]
    LAN["net2rust-lan<br/>11 Ping, Scan, WoL, SMB, Speedtest Tools"]
    OSINT["net2rust-osint<br/>10 WHOIS, GeoIP/OUI, DNS, Profiles Tools"]
    RADIO["net2rust-radio<br/>10 Wi-Fi BSS & Bluetooth/BLE Tools"]
    REP["net2rust-report<br/>guap-export Batch & Merkle Custody"]
    MCP["net2rust-mcp<br/>68 MCP Endpoints (55 ro + 13 mut)"]
    CLI["net2rust-cli<br/>Unified CLI + GUI Launcher"]
    WIN32["net2rust-win32<br/>Native WinSafe Virtual List GUI"]
    ICED["net2rust-iced<br/>Cross-Platform Iced 0.14 GUI"]

    SOCK --> CORE
    CAP --> CORE
    LAN --> CORE
    OSINT --> CORE
    RADIO --> CORE
    REP --> CORE
    MCP --> CORE
    CLI --> CORE
    CLI --> SOCK
    CLI --> CAP
    CLI --> LAN
    CLI --> OSINT
    CLI --> RADIO
    CLI --> REP
    CLI --> MCP
    WIN32 --> CORE
    WIN32 --> REP
    ICED --> CORE
    ICED --> REP
Loading

Memory-Safety Boundary

  • #![forbid(unsafe_code)]: net2rust-core, net2rust-report, net2rust-mcp (lib.rs & main.rs), net2rust-cli (lib.rs & main.rs), net2rust-win32 (main.rs), and net2rust-iced (main.rs).
  • #![deny(unsafe_code)]: net2rust-radio enforces #![deny(unsafe_code)] for WLAN / Bluetooth WinRT/Win32 queries; sockets, capture, lan, and osint isolate OS-level IPHLPAPI / raw-socket / WNet bindings cleanly while using safe pure-Rust PCAP/protocol dissectors (capture packet parsing uses checked byte slices).

Clone this wiki locally