Track plugin registry audits

This commit is contained in:
2026-05-07 22:43:15 -04:00
parent 9e6cd216b0
commit 96675b6e22
6 changed files with 325 additions and 3 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
use std::collections::BTreeSet;
use std::{collections::BTreeSet, fmt};
use semver::Version;
use serde::Deserialize;
@@ -119,6 +119,12 @@ impl PluginId {
}
}
impl fmt::Display for PluginId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_str(&self.0)
}
}
impl PluginManifest {
pub fn from_toml(value: &str) -> Result<Self, DomainError> {
let raw: RawPluginManifest = toml::from_str(value)