Expand description
mlua-pkg.lock read / write.
A Lockfile captures the resolved package graph at a point in time.
Each [[pkg]] entry pins a dependency to a specific commit SHA for
fully-reproducible installs.
§Schema (TOML)
version = 1
[[pkg]]
name = "foo"
source = "git+https://github.com/x/foo"
tag = "v1.2.0"
sha = "abc123def456..." # full 40-char SHA
entry = "src"
[[pkg]]
name = "bar"
source = "git+https://github.com/y/bar"
rev = "abc123"
sha = "def456..."
entry = "src"§Stability
The lockfile is intended to be committed to version control. Lockfile::write
sorts packages by name before serializing, producing diff-stable output.
The entry field is always stored with forward-slash separators (/) to
remain portable across platforms.