exochain-authority 0.2.0-beta

EXOCHAIN authority chain verification and delegation management
Documentation
// Copyright 2026 Exochain Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// SPDX-License-Identifier: Apache-2.0

//! EXOCHAIN Authority Chain Verification and Delegation Management
//!
//! Authority chains track the delegation of permissions from root to leaf.
//! Scope can only narrow through delegation, never widen.

#![cfg_attr(test, allow(clippy::expect_used, clippy::unwrap_used))]

pub mod cache;
pub mod chain;
pub mod delegation;
pub mod error;
pub mod permission;

pub use cache::ChainCache;
pub use chain::{AuthorityChain, AuthorityLink, DelegateeKind};
pub use delegation::{
    AuthorityRevocation, DelegationAuditAction, DelegationAuditEvent, DelegationRegistry,
    DelegationRevocationGrant,
};
pub use error::AuthorityError;
pub use permission::{Permission, PermissionSet};