static_tr_plugin/lib.rs
1//! Static Tenant Resolver Plugin
2//!
3//! This plugin provides tenant data and access rules from configuration.
4//! Useful for testing, development, and simple deployments.
5//!
6//! ## Configuration
7//!
8//! ```yaml
9//! modules:
10//! static_tr_plugin:
11//! vendor: "hyperspot"
12//! priority: 100
13//! tenants:
14//! - id: "550e8400-e29b-41d4-a716-446655440001"
15//! name: "Tenant A"
16//! status: active
17//! access_rules:
18//! - source: "550e8400-e29b-41d4-a716-446655440001"
19//! target: "550e8400-e29b-41d4-a716-446655440002"
20//! ```
21
22#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
23
24pub mod config;
25pub mod domain;
26pub mod module;
27
28pub use module::StaticTrPlugin;