Skip to main content

Crate cabin_publish

Crate cabin_publish 

Source
Expand description

Publish-workflow orchestration for Cabin.

Two paths share a single staging step:

Crate boundaries:

  • this crate must not implement HTTP / sparse / OCI publish;
  • it must not implement server-side functionality;
  • file-registry layout, atomic-ish writes, and the lock file all Live in cabin-registry-file;
  • this crate is the layer where staging meets writing. Nothing Higher-level (CLI flag handling, output formatting) belongs Here.

Re-exports§

pub use dry_run::DryRunReport;
pub use dry_run::DryRunRequest;
pub use dry_run::dry_run;
pub use error::PublishError;
pub use registry::RegistryPublishReport;
pub use registry::RegistryPublishWorkflow;
pub use registry::dry_run_against_file_registry;
pub use registry::publish_to_file_registry;

Modules§

dry_run
error
registry