mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Refactor: Extract cargo_toml_workspace
as a new crate (#1287)
To reduce codegen time of `binstalk` and also enable others to reuse this crate. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
c57356e870
commit
8ff13c1b36
19 changed files with 290 additions and 47 deletions
|
@ -1,5 +1,5 @@
|
|||
use binstalk::ops::resolve::load_manifest_path;
|
||||
use cargo_toml::Product;
|
||||
use cargo_toml_workspace::cargo_toml::{Edition, Product};
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[test]
|
||||
|
@ -24,7 +24,7 @@ fn parse_meta() {
|
|||
&[Product {
|
||||
name: Some("cargo-binstall".to_string()),
|
||||
path: Some("src/main.rs".to_string()),
|
||||
edition: cargo_toml::Edition::E2021,
|
||||
edition: Edition::E2021,
|
||||
..Default::default()
|
||||
},],
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue