From dadb36e346156cb21269b8332a4198bf63edb468 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Sat, 15 Apr 2023 13:02:36 +0200 Subject: [PATCH] make RunExportsJson cloneable --- crates/rattler_conda_types/src/package/run_exports.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rattler_conda_types/src/package/run_exports.rs b/crates/rattler_conda_types/src/package/run_exports.rs index b45114580..7e1d68480 100644 --- a/crates/rattler_conda_types/src/package/run_exports.rs +++ b/crates/rattler_conda_types/src/package/run_exports.rs @@ -9,7 +9,7 @@ use serde_with::{serde_as, skip_serializing_none}; /// The `run_exports.json` file contains information about the run exports of a package #[serde_as] #[skip_serializing_none] -#[derive(Debug, Deserialize, Serialize, Eq, PartialEq, Hash)] +#[derive(Debug, Deserialize, Serialize, Eq, PartialEq, Hash, Clone)] pub struct RunExportsJson { /// weak run exports apply a dependency from host to run #[serde(skip_serializing_if = "Vec::is_empty", default)]