Skip to main content

Crate copybook_governance

Crate copybook_governance 

Source
Expand description

Governance contracts and runtime interoperability for copybook-rs feature controls.

This crate is the canonical compatibility façade for:

  • Runtime feature flags and support-matrix rows (copybook-governance-contracts).
  • Static governance bindings between support rows and feature flags (copybook-governance-grid).
  • Runtime evaluation of those bindings (copybook-governance-runtime).

Modules§

feature_flags
Re-exported feature flag types from the governance grid.
support_matrix
Re-exported support matrix types from the governance grid.

Structs§

FeatureFlags
Feature flag configuration.
FeatureFlagsBuilder
Builder for constructing FeatureFlags with a fluent API.
FeatureFlagsHandle
Thread-safe, mutable handle to FeatureFlags for runtime toggling.
FeatureGovernanceState
Runtime-aware governance state for a support matrix feature row.
FeatureGovernanceSummary
Summary of static + runtime governance coverage.
FeatureSupport
Metadata entry for a single COBOL feature in the support matrix.
GovernanceSummary
Aggregate counts describing the governance grid coverage.
GovernedFeatureBinding
A single link between a support-matrix entry and its runtime feature flags.

Enums§

Feature
All available feature flags.
FeatureCategory
Feature category for grouping related features.
FeatureId
Identifier for a COBOL feature tracked in the support matrix.
FeatureLifecycle
Feature lifecycle stage.
SupportStatus
Current implementation status of a COBOL feature.

Functions§

feature_flags_for_support_id
Look up the flag linkage for a support feature.
governance_bindings
All explicit governance bindings.
governance_state_for_support_id
Resolve runtime governance state for a single support item.
governance_states
Build full governance state rows for a specific runtime flag set.
is_support_runtime_available
Evaluate whether a support feature is runtime-available with active flags.
runtime_summary
Aggregate runtime availability with static governance coverage metadata.
summarize_governance
Summarize governance mapping health for the current set of support and feature entries.
support_states
Return support rows without applying runtime governance mapping.