Skip to content

refactor(crate): split library exports into lib.rs#73

Open
shivv23 wants to merge 1 commit intoc2siorg:mainfrom
shivv23:codex/pr1-crate-layout-cleanup
Open

refactor(crate): split library exports into lib.rs#73
shivv23 wants to merge 1 commit intoc2siorg:mainfrom
shivv23:codex/pr1-crate-layout-cleanup

Conversation

@shivv23
Copy link

@shivv23 shivv23 commented Mar 13, 2026

Summary

This PR refactors crate structure to make rustcloud a proper library crate surface and removes manifest noise that can confuse builds/tooling.

Changes

  • Added src/lib.rs as the canonical module export surface.
  • Simplified src/main.rs to a minimal binary entrypoint.
  • Removed invalid Cargo.toml entries:
    • self-referential dev dependency on rustcloud
    • editor-only [[language]] block
  • Removed stale module declarations pointing to missing files in AWS modules.
  • Fixed gcp_storage response handling for reqwest 0.12 (capture status before consuming response body).

Why

  • Improves crate correctness and downstream usability as a library.
  • Removes non-Cargo metadata from manifest.
  • Avoids compile issues caused by missing module declarations and moved Response values.

Validation

  • cargo check --lib

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