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:
Jiahao XU 2023-08-12 22:05:10 +10:00 committed by GitHub
parent c57356e870
commit 8ff13c1b36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 290 additions and 47 deletions

View file

@ -1,4 +1,3 @@
use cargo_toml::Manifest;
use compact_str::CompactString;
use semver::VersionReq;
use serde_json::Deserializer as JsonDeserializer;
@ -11,7 +10,10 @@ use crate::{
RegistryConfig, RegistryError,
},
errors::BinstallError,
helpers::remote::{Client, Error as RemoteError},
helpers::{
cargo_toml::Manifest,
remote::{Client, Error as RemoteError},
},
manifests::cargo_toml_binstall::Meta,
};