Skip to main content

Crate hx_lock

Crate hx_lock 

Source
Expand description

Lockfile management for hx.

This crate handles:

  • Reading and writing hx.lock
  • Converting from Cabal freeze/plan
  • Fingerprint calculation

Structs§

LockedPackage
A locked package.
LockedPlan
Build plan section of the lockfile.
LockedToolchain
Toolchain section of the lockfile.
LockedWorkspace
Workspace section of the lockfile.
Lockfile
The hx.lock lockfile.
WorkspacePackageInfo
A workspace package (local package in the workspace).

Enums§

LockError
Error type for lock operations.

Constants§

LOCK_VERSION
Current lockfile format version.

Functions§

parse_freeze_file
Parse a Cabal freeze file and extract constraints.