trait-kit 0.4.2

Module Standard Interface and Capability Management Center — A lightweight Rust library that provides a standard interface for module definition and Kit capability management.
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright (c) 2026 Kirky.X
// SPDX-License-Identifier: MIT
//! Feature toggle system for runtime module enable/disable.
//!
//! The toggle system extends the `conditional` feature's compile-time
//! predicate-based registration (`register_if`) to runtime: modules can be
//! conditionally registered based on string-keyed feature flags that can be
//! toggled on/off at any point during the application lifecycle.
//!
//! Requires the `toggle` feature (which implies `conditional`).