Skip to main content

Module gts

Module gts 

Source
Expand description

GTS re-exports from toolkit-gts.

Platform base GTS types (plugin base, permission base, and future role/grant/binding) live in the dedicated toolkit-gts crate alongside the link-time inventory machinery. This gear re-exports them for convenience so existing consumers can continue writing use toolkit::gts::PluginV1; without an extra dependency.

A deprecated type alias is provided for the former BaseToolkitPluginV1 name to preserve backward compatibility of the published cf-toolkit crate for external consumers. In-repo callsites have been migrated to PluginV1.

Structs§

AuthzPermissionV1
Base GTS Type for authorization permissions.
InventoryInstance
Registration record for a well-known GTS Instance contributed to the process-wide inventory.
InventoryTypeSchema
Registration record for a GTS Type Schema contributed to the process-wide inventory.
PluginV1
Base Type Schema for all toolkit plugin instances.

Functions§

all_inventory_instances
Returns every well-known GTS Instance declared via gts_instance! in any crate linked into the current process.
all_inventory_type_schemas
Returns every GTS Type Schema declared via #[gts_type_schema(...)] in any crate linked into the current process.

Type Aliases§

BaseToolkitPluginV1Deprecated
Deprecated alias — BaseToolkitPluginV1 was renamed to PluginV1.