Track plugin registry audits
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user