mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 13:38:43 +00:00
Derive Clone
for MetaData
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
cef4dfee5c
commit
671b2fb6f0
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ use url::Url;
|
||||||
|
|
||||||
use crate::{cargo_home, cratesio_url, create_if_not_exist, FileLock};
|
use crate::{cargo_home, cratesio_url, create_if_not_exist, FileLock};
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||||
pub struct MetaData {
|
pub struct MetaData {
|
||||||
pub name: CompactString,
|
pub name: CompactString,
|
||||||
pub version_req: CompactString,
|
pub version_req: CompactString,
|
||||||
|
|
Loading…
Add table
Reference in a new issue