rustchain/
lib.rs

1#[cfg(feature = "llm")]
2pub mod llm;
3
4#[cfg(feature = "tools")]
5pub mod tools;
6
7#[cfg(feature = "rag")]
8pub mod rag;
9
10#[cfg(feature = "memory")]
11pub mod memory;
12
13#[cfg(feature = "chain")]
14pub mod chain;
15
16#[cfg(feature = "agent")]
17pub mod agent;
18
19#[cfg(feature = "art")]
20pub mod art;
21
22#[cfg(feature = "smt")]
23pub mod smt;
24
25#[cfg(feature = "compliance")]
26pub mod compliance;
27
28// compliance_sdk removed - now self-contained in compliance module
29
30#[cfg(feature = "sandbox")]
31pub mod sandbox;
32
33// Registry module (community features + enterprise extensions)
34#[cfg(any(feature = "registry", feature = "enterprise"))]
35pub mod registry;
36
37#[cfg(feature = "server")]
38pub mod server;
39
40#[cfg(feature = "cli")]
41pub mod cli;
42
43#[cfg(feature = "concurrency")]
44pub mod concurrency;
45
46#[cfg(feature = "invariants")]
47pub mod testing;
48
49pub mod invariant_ppt;
50
51// Universal Transpiler System
52#[cfg(feature = "transpiler")]
53pub mod transpiler;
54
55// Enterprise features (gated by enterprise feature)
56#[cfg(feature = "enterprise")]
57pub mod security;
58
59// Core modules always available
60pub mod core;
61pub mod engine;
62pub mod policy;
63pub mod runtime;
64pub mod safety;
65pub mod telemetry;
66pub mod validation;
67pub mod performance;
68pub mod build_dashboard;
69pub mod benchmarks;
70// Note: Some enterprise modules may be conditionally available
71// - security (available with enterprise feature)
72// - visual (moved to rustchain-enterprise)
73// - registry (available with registry/enterprise features)