Skip to content

hydro_cli v0.8.0

Compare
Choose a tag to compare
@hydro-project-bot hydro-project-bot released this 23 Jul 03:50
· 240 commits to main since this release

Chore

  • update pinned rust version to 2024-06-17

Refactor

  • build cache cleanup
    • Replace mystery tuple with new struct BuildOutput
    • Replace Mutex and Arc-infested HashMap with memo-map crate,
      greatly simplifying build cache typing
    • Remove redundant build caching in HydroflowCrateService, expose and
      use cache parameters as BuildParams
    • Remove once_cell and async-once-cell dependencies, use std's
      OnceLock
    • Add Failed to execute command: {} context to perf error message
    • Cleanup some repeated format! expressions

Style

  • rename SSH -> Ssh

Refactor (BREAKING)

  • make Host trait use &self interior mutability to remove RwLock wrappings #430
    Depends on #1346

  • make HydroflowSource, HydroflowSink traits use &self interior mutability to remove RwLock wrappings #430
    Depends on #1339

  • replace async-channel with tokio::sync::mpsc::unbounded_channel
    Depends on #1339

    We could make the publicly facing stdout, stderr APIs return impl Stream<Output = String> in the future, maybe

  • replace some uses of tokio::sync::RwLock with std::sync::Mutex #430 (3/3)

Style (BREAKING)

  • enable clippy upper-case-acronyms-aggressive
    • rename GCP -> Gcp, NodeID -> NodeId
    • update CI cargo-generate template testing to use PR's branch instead
      of whatever main happens to be

Commit Statistics

Commit Details

view details
  • #1309
    • Update pinned rust version to 2024-06-17 (3098f77)
  • #1334
  • #1339
    • Replace some uses of tokio::sync::RwLock with std::sync::Mutex #430 (3/3) (141eae1)
  • #1340
  • #1345
    • Enable clippy upper-case-acronyms-aggressive (12b8ba5)
  • #1346
    • Make HydroflowSource, HydroflowSink traits use &self interior mutability to remove RwLock wrappings #430 (057a0a5)
  • #1347
    • Make Host trait use &self interior mutability to remove RwLock wrappings #430 (c5a8de2)
  • #1356
    • Replace async-channel with tokio::sync::mpsc::unbounded_channel (6039078)