pray-core
Core library for Prayfile: parse manifests and package specs, resolve dependencies, write lockfiles, render managed targets, verify drift, and build distribution artifacts.
This is the shared engine used by the pray CLI (pray-cli on crates.io).
Install
[]
= "1.5"
The default auth feature enables local registry authentication storage (SQLite). For a slim build:
= { = "1.5", = false }
Embedder API
Import pray_core::embed (RFC 0109). That module is the supported library surface for parse, resolve, lock, render, and verify. inspect_locked_destinations checks dest files against Prayfile.lock without resolving packages (RFC 0106). Other public modules remain for the in-tree CLI.
use ;
let manifest = parse_manifest.expect;
assert_eq!;
let _ = parse_lockfile;
Links
- Spec: rfcs/
- CLI: pray-cli
- Homepage: pray.kisko.dev