pub struct RegistryConfig {
pub enabled: bool,
pub backend_kind: RegistryBackendKind,
pub backend_url: Option<String>,
pub auth_vault_key: Option<String>,
pub registry_timeout_secs: u64,
}Expand description
External skill/plugin registry connection settings, nested under [skills.registry] in
TOML (spec-045, #5869).
Registry search/install is strictly opt-in (NFR-001): enabled defaults to false, and no
field on this type is read — no network call is made — unless enabled = true.
§Example (TOML)
[skills.registry]
enabled = true
backend_kind = "skills-sh"
auth_vault_key = "ZEPH_SKILL_REGISTRY_TOKEN"Fields§
§enabled: boolEnable registry search/install. Default: false.
When false, zeph skill search/add and zeph plugin search/add refuse to make
any network call and print an actionable opt-in message instead (FR-004).
backend_kind: RegistryBackendKindWhich registry backend implementation (zeph_plugins::marketplace::RegistryClient,
crate not depended on here — see RegistryBackendKind) to use.
backend_url: Option<String>Registry base URL. None uses the backend’s built-in default (for
RegistryBackendKind::SkillsSh, https://www.skills.sh).
auth_vault_key: Option<String>Vault key name to resolve the registry’s bearer credential from, e.g.
"ZEPH_SKILL_REGISTRY_TOKEN". None means an anonymous (unauthenticated) request is
attempted; the backend may reject it if it requires a credential.
Always resolved via VaultProvider — never stored as a plain config field.
registry_timeout_secs: u64Per-request timeout in seconds for registry search/fetch HTTP calls.
Trait Implementations§
Source§impl Clone for RegistryConfig
impl Clone for RegistryConfig
Source§fn clone(&self) -> RegistryConfig
fn clone(&self) -> RegistryConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RegistryConfig
impl Debug for RegistryConfig
Source§impl Default for RegistryConfig
impl Default for RegistryConfig
Source§fn default() -> RegistryConfig
fn default() -> RegistryConfig
Source§impl<'de> Deserialize<'de> for RegistryConfig
impl<'de> Deserialize<'de> for RegistryConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegistryConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RegistryConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for RegistryConfig
impl Serialize for RegistryConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for RegistryConfig
impl RefUnwindSafe for RegistryConfig
impl Send for RegistryConfig
impl Sync for RegistryConfig
impl Unpin for RegistryConfig
impl UnsafeUnpin for RegistryConfig
impl UnwindSafe for RegistryConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request