Expand description
Manifest formats and utilities.
There are three types of manifests Binstall may deal with:
- manifests that define how to fetch and install a package
(Cargo.toml’s
[metadata.binstall]
); - manifests that record which packages are installed
(Cargo’s
.crates.toml
and Binstall’s.crates-v1.json
); - manifests that specify which packages to install (currently none).
Modules§
- Binstall’s
crates-v1.json
manifest. - Cargo’s
.cargo/config.toml
- Cargo’s
.crates.toml
manifest. - The format of the
[package.metadata.binstall]
manifest. - Common structure for crate information for post-install manifests.
- Contains both
binstall_crates_v1
andcargo_crates_v1
.
Structs§
- A
CompactString
is a compact string type that can be used almost anywhere aString
orstr
can be used. - A parsed URL record.
- SemVer version as defined by https://semver.org.