binstalk_manifests/
lib.rs

1//! Manifest formats and utilities.
2//!
3//! There are three types of manifests Binstall may deal with:
4//! - manifests that define how to fetch and install a package
5//!   ([Cargo.toml's `[metadata.binstall]`][cargo_toml_binstall]);
6//! - manifests that record which packages _are_ installed
7//!   ([Cargo's `.crates.toml`][cargo_crates_v1] and
8//!   [Binstall's `.crates-v1.json`][binstall_crates_v1]);
9//! - manifests that specify which packages _to_ install (currently none).
10
11mod helpers;
12
13pub mod binstall_crates_v1;
14pub mod cargo_config;
15pub mod cargo_crates_v1;
16/// Contains both [`binstall_crates_v1`] and [`cargo_crates_v1`].
17pub mod crates_manifests;
18
19pub use binstalk_types::{cargo_toml_binstall, crate_info};
20pub use compact_str::CompactString;
21pub use semver::Version;
22pub use url::Url;