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