mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 13:08: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,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Source {
|
||||
pub source_type: SourceType,
|
||||
pub url: Url,
|
||||
|
|
Loading…
Add table
Reference in a new issue