mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-05 03:30:03 +00:00
Refactor: Extract new crate binstalk-manifests (#511)
* Refactor: Extract new crate binstalk-manifests * Fix clippy warning in mod `binstall_crates_v1` * Rm unused deps in binstalk * Update release-pr Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
565be9ae4c
commit
fc6d9ab956
17 changed files with 96 additions and 47 deletions
16
crates/binstalk-manifests/src/lib.rs
Normal file
16
crates/binstalk-manifests/src/lib.rs
Normal file
|
@ -0,0 +1,16 @@
|
|||
//! 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]`][cargo_toml_binstall]);
|
||||
//! - manifests that record which packages _are_ installed
|
||||
//! ([Cargo's `.crates.toml`][cargo_crates_v1] and
|
||||
//! [Binstall's `.crates-v1.json`][binstall_crates_v1]);
|
||||
//! - manifests that specify which packages _to_ install (currently none).
|
||||
|
||||
mod helpers;
|
||||
|
||||
pub mod binstall_crates_v1;
|
||||
pub mod cargo_crates_v1;
|
||||
pub mod cargo_toml_binstall;
|
||||
pub mod crate_info;
|
Loading…
Add table
Add a link
Reference in a new issue