Skip to main content

Crate bock_pkg

Crate bock_pkg 

Source
Expand description

Bock pkg — package manager for resolving and fetching Bock dependencies.

This crate provides:

  • Manifest (bock.package) parsing and manipulation
  • Dependency resolution using the PubGrub algorithm
  • Lockfile (bock.lock) generation and reading
  • High-level commands for bock pkg add/remove/tree

Modules§

commands
High-level package manager commands (add, remove, tree, etc.).
error
Error types for the package manager.
install
High-level package installation: fetch from registry, extract, lock.
lockfile
Lockfile (bock.lock) generation and reading.
manifest
Parsing and manipulation of bock.package TOML manifest files.
network
Network-backed package registry client.
resolver
Dependency resolver using the PubGrub algorithm.
tree
Dependency tree display for bock pkg tree.
version
Version parsing utilities for Bock package constraints.