Skip to content

Commit 2118c3f

Browse files
committed
remove unused macros
1 parent 19cd9ea commit 2118c3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/dsc-lib/src/discovery/command_discovery.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use regex::RegexBuilder;
1616
use rust_i18n::t;
1717
use semver::{Version, VersionReq};
1818
use schemars::JsonSchema;
19-
use serde::{Deserialize, Serialize};
19+
use serde::Deserialize;
2020
use std::{collections::{BTreeMap, HashMap, HashSet}, sync::{LazyLock, RwLock}};
2121
use std::env;
2222
use std::ffi::OsStr;
@@ -39,13 +39,13 @@ static RESOURCES: LazyLock<RwLock<BTreeMap<String, Vec<DscResource>>>> = LazyLoc
3939
static EXTENSIONS: LazyLock<RwLock<BTreeMap<String, DscExtension>>> = LazyLock::new(|| RwLock::new(BTreeMap::new()));
4040
static ADAPTED_RESOURCES: LazyLock<RwLock<BTreeMap<String, Vec<DscResource>>>> = LazyLock::new(|| RwLock::new(BTreeMap::new()));
4141

42-
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize, JsonSchema)]
42+
#[derive(Deserialize, JsonSchema)]
4343
pub struct ManifestList {
4444
pub resources: Option<Vec<ResourceManifest>>,
4545
pub extensions: Option<Vec<ExtensionManifest>>,
4646
}
4747

48-
#[derive(Clone, Serialize, Deserialize, JsonSchema)]
48+
#[derive(Deserialize, JsonSchema)]
4949
#[schemars(transform = idiomaticize_externally_tagged_enum)]
5050
pub enum ImportedManifest {
5151
Resource(DscResource),

0 commit comments

Comments
 (0)