Skip to main content

systemprompt_identifiers/
plugin.rs

1//! Plugin identifiers: the plugin's catalog key, a checked non-empty slug
2//! carried in manifests, plugin-scoped tokens and authz entity refs.
3//!
4//! Copyright (c) systemprompt.io — Business Source License 1.1.
5//! See <https://systemprompt.io> for licensing details.
6
7crate::define_id!(PluginId, checked, |value| {
8    crate::macros::validate_non_empty("PluginId", value)
9});