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_
crates_ v1 - Binstall’s
crates-v1.json
manifest. - cargo_
config - Cargo’s
.cargo/config.toml
- cargo_
crates_ v1 - Cargo’s
.crates.toml
manifest. - cargo_
toml_ binstall - The format of the
[package.metadata.binstall]
manifest. - crate_
info - Common structure for crate information for post-install manifests.
- crates_
manifests - Contains both
binstall_crates_v1
andcargo_crates_v1
.
Structs§
- Compact
String - A
CompactString
is a compact string type that can be used almost anywhere aString
orstr
can be used. - Url
- A parsed URL record.
- Version
- SemVer version as defined by https://semver.org.