mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 13:08:42 +00:00
Mark binstall_v1::{Source, SourceType}
pub
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
1a8fda1f5e
commit
05c0d5fcae
1 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ impl MetaData {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Copy, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Copy, Clone, Serialize, Deserialize)]
|
||||||
enum SourceType {
|
pub enum SourceType {
|
||||||
Git,
|
Git,
|
||||||
Path,
|
Path,
|
||||||
Registry,
|
Registry,
|
||||||
|
@ -57,8 +57,8 @@ enum SourceType {
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct Source {
|
pub struct Source {
|
||||||
source_type: SourceType,
|
pub source_type: SourceType,
|
||||||
url: Url,
|
pub url: Url,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Source {
|
impl Source {
|
||||||
|
|
Loading…
Add table
Reference in a new issue