mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-04 03:00:03 +00:00
Optimize CratesToml
: Use Vec
instead of BTreeSet
for storing bins. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
e86239f9be
commit
03c8295cd8
2 changed files with 6 additions and 7 deletions
|
@ -1,4 +1,3 @@
|
|||
use std::collections::BTreeSet;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use crate::{metafiles, DesiredTargets, PkgOverride};
|
||||
|
@ -20,7 +19,7 @@ pub struct Options {
|
|||
|
||||
/// MetaData required to update MetaFiles.
|
||||
pub struct MetaData {
|
||||
pub bins: BTreeSet<String>,
|
||||
pub bins: Vec<String>,
|
||||
pub cvs: metafiles::CrateVersionSource,
|
||||
pub version_req: String,
|
||||
pub target: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue