Skip to content

Monolithic Architecture Prevents Modular Usage #129

@biandratti

Description

@biandratti

Currently, huginn-net compiles all protocol analysis modules (TCP, HTTP, TLS) and their dependencies in a single crate, preventing users from using only the protocols they need. This results in larger binaries, unnecessary dependencies (nom, hpack-patched, tls-parser), and slower compilation for resource-constrained environments.

Proposed Solution: Split into separate crates (huginn-net-tcp, huginn-net-http, huginn-net-tls) with protocol-specific database parsers, while maintaining a convenience meta-crate (huginn-net). This enables users to depend only on required protocols while preserving the current unified API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions