Skip to content

3.0: make cargo-hammerwork and hammerwork-web internals private #88

Closed

Description

@CodingAnarchy

Both binary crates expose their internals as semver-protected library API:

  • cargo-hammerwork declares pub mod commands; pub mod config; pub mod utils; and glob re-exports all of them (pub use commands::* and so on).
  • hammerwork-web makes all seven of its modules public: api, auth, config, live, security, server, websocket.

In 3.0, make internals crate-private. Keep only the intended entry points: for the dashboard, WebDashboard, DashboardConfig / AuthConfig, and possibly server::app_routes for embedding; for the CLI, nothing beyond what tests need, using #[doc(hidden)] or integration tests through the binary.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions