Skip to content

Replace distributed_cli git dependency with a published crates.io version #58

@patrickleet

Description

@patrickleet

Cargo.toml currently depends on distributed_cli via a temporary git dependency on the distributed repo's feat/atlas-schema-resource branch (introduced in #56), because distributed_cli isn't published yet.

Action

Once hops-ops/distributed PR #74 merges and the release workflow publishes distributed_cli to crates.io, replace the git dep with the registry version:

distributed_cli = "<version>"

Before swapping, confirm the public API is intact

  • distributed_cli re-exports ServiceArgs and run at the crate root (pub use cli::{..., ServiceArgs, run, ...})
  • pub fn run(args: &ServiceArgs) -> Result<(), Box<dyn Error>>
  • hops service scaffold|describe|schema resolve and cargo build is green
  • Remove the temporary # TODO git-dep comment in Cargo.toml

Refs: #56, hops-ops/distributed#74

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions