mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +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)]
|
||||
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue