From 05c0d5fcae8e54df788cfde2e5a7897d5eabc59f Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Wed, 27 Jul 2022 19:24:01 +1000 Subject: [PATCH] Mark `binstall_v1::{Source, SourceType}` pub Signed-off-by: Jiahao XU --- src/metafiles/binstall_v1.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/metafiles/binstall_v1.rs b/src/metafiles/binstall_v1.rs index 4ba95dae..a99e9d89 100644 --- a/src/metafiles/binstall_v1.rs +++ b/src/metafiles/binstall_v1.rs @@ -49,7 +49,7 @@ impl MetaData { } #[derive(Debug, Copy, Clone, Serialize, Deserialize)] -enum SourceType { +pub enum SourceType { Git, Path, Registry, @@ -57,8 +57,8 @@ enum SourceType { #[derive(Debug, Serialize, Deserialize)] pub struct Source { - source_type: SourceType, - url: Url, + pub source_type: SourceType, + pub url: Url, } impl Source {