mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
Derive Clone
for Source
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
671b2fb6f0
commit
5987acbf95
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ pub enum SourceType {
|
||||||
Registry,
|
Registry,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||||
pub struct Source {
|
pub struct Source {
|
||||||
pub source_type: SourceType,
|
pub source_type: SourceType,
|
||||||
pub url: Url,
|
pub url: Url,
|
||||||
|
|
Loading…
Add table
Reference in a new issue