Refactor cargo-binstall (#1302)

- Move implementation of `main` into the library part of
   `cargo-binstall` to speedup codegen.
 - Move  `manifests.rs` into `binstalk-manifests`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-08-18 11:59:48 +10:00 committed by GitHub
parent 4e73d0095f
commit 43973d7e86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 120 additions and 103 deletions

View file

@ -13,6 +13,8 @@ mod helpers;
pub mod binstall_crates_v1;
pub mod cargo_config;
pub mod cargo_crates_v1;
/// Contains both [`binstall_crates_v1`] and [`cargo_crates_v1`].
pub mod crates_manifests;
pub use binstalk_types::{cargo_toml_binstall, crate_info};
pub use compact_str::CompactString;