Skip to main content

audit_trails/core/
mod.rs

1// Copyright 2020-2025 IOTA Stiftung
2// SPDX-License-Identifier: Apache-2.0
3
4//! Core handles, builders, transactions, and domain types for Audit Trails.
5//!
6//! This namespace contains the main trail-facing Rust API:
7//!
8//! - [`crate::core::access`] exposes role and capability management
9//! - [`crate::core::builder`] configures trail creation
10//! - [`crate::core::create`] contains the creation transaction types
11//! - [`crate::core::locking`] manages trail locking rules
12//! - [`crate::core::records`] reads and mutates trail records
13//! - [`crate::core::tags`] manages the trail-owned record-tag registry
14//! - [`crate::core::trail`] provides the high-level typed handle bound to a specific trail
15//! - [`crate::core::types`] contains serializable value types shared across the crate
16
17/// Role and capability management APIs.
18pub mod access;
19/// Builder used to configure trail creation.
20pub mod builder;
21/// Trail-creation transaction types.
22pub mod create;
23pub(crate) mod internal;
24/// Locking configuration APIs.
25pub mod locking;
26/// Record read and mutation APIs.
27pub mod records;
28/// Trail-scoped record-tag management APIs.
29pub mod tags;
30/// High-level trail handle types.
31pub mod trail;
32/// Shared domain and event types.
33pub mod types;