1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
//! `rskit` — production Rust toolkit.
//!
//! This crate is a pure facade that re-exports `rskit-*` sub-crates from a
//! single namespace. It contains no implementation logic.
//!
//! Always-on foundation crates:
//!
//! | Module | Extra crate |
//! |--------|-------------|
//! | `util` | `rskit-util` (domain-free foundation utilities) |
//! | `errors` | `rskit-errors` (error types and result aliases) |
//! | `fs` | `rskit-fs` (local filesystem primitives) |
//! | `config` | `rskit-config` (adapter-oriented config loading) |
//! | `logging` | `rskit-logging` (`tracing` subscriber setup) |
//! | `resilience` | `rskit-resilience` (retry, timeout, circuit breaker) |
//! | `provider` | `rskit-provider` (provider traits and tower bridge) |
//! | `stream` | `rskit-stream` (broadcaster, sources, tasks, stream operators) |
//! | `bootstrap` | `rskit-bootstrap` (app lifecycle orchestration) |
//! | `component` | `rskit-component` (component lifecycle primitives) |
//! | `worker` | `rskit-worker` (worker pools and typed events) |
//! | `validation` | `rskit-validation` (field-level validation) |
//!
//! Optional feature flags control higher-level modules and adapters:
//!
//! | Feature | Extra crate |
//! |---------|-------------|
//! | `server` | `rskit-server` (service-facing server abstractions) |
//! | `grpc` | `rskit-grpc` (aligned gRPC client/server transport) |
//! | `encryption` | `rskit-encryption` (encryption helpers) |
//! | `http` | `rskit-http` (framework-neutral HTTP abstractions) |
//! | `httpclient` | `rskit-httpclient` (bounded HTTP client) |
//! | `auth` | `rskit-auth` (JWT, OIDC, password) |
//! | `auth-jwt` | JWT support in `rskit-auth` |
//! | `auth-oidc` | OIDC support in `rskit-auth` |
//! | `di` | `rskit-di` (dependency injection) |
//! | `database` | `rskit-database` (core + memory backend) |
//! | `cache` | `rskit-cache` (core + memory adapter) |
//! | `cache-fs` | Filesystem cache adapter in `rskit-cache` |
//! | `cache-redis` | Redis cache adapter |
//! | `messaging` | `rskit-messaging` (core abstractions + in-memory backend) |
//! | `messaging-kafka` | `Kafka` messaging adapter |
//! | `messaging-nats` | NATS messaging adapter |
//! | `messaging-rabbitmq` | `RabbitMQ` messaging adapter |
//! | `vectorstore` | `rskit-vectorstore` (core + memory backend) |
//! | `vectorstore-qdrant` | Qdrant vector store adapter |
//! | `observability` | `rskit-observability` (OpenTelemetry) |
//! | `authz` | `rskit-authz` (RBAC/ABAC) |
//! | `security` | `rskit-security` (TLS/security configuration) |
//! | `discovery` | `rskit-discovery` (service discovery) |
//! | `sse` | `rskit-sse` (Server-Sent Events) |
//! | `dag` | `rskit-dag` (DAG orchestration) |
//! | `chain` | `rskit-chain` (sequential execution) |
//! | `process` | `rskit-process` (subprocess execution) |
//! | `fs-watch` | Recursive filesystem change watching (`rskit-fs::watch`, `FsWatcher`) |
//! | `stateful` | `rskit-stateful` (stateful accumulators) |
//! | `version` | `rskit-version` (build metadata) |
//! | `schema` | `rskit-schema` (JSON Schema generation/validation) |
//! | `hook` | `rskit-hook` (typed event hooks) |
//! | `genai` | `rskit-ai` (shared `GenAI` vocabulary) |
//! | `llm` | `rskit-llm` (LLM providers) |
//! | `llm-openai` | `OpenAI` LLM adapter |
//! | `llm-anthropic` | `Anthropic` LLM adapter |
//! | `llm-ollama` | `Ollama` LLM adapter |
//! | `llm-gemini` | `Gemini` LLM adapter |
//! | `embedding` | `rskit-embedding` (embedding abstractions) |
//! | `inference` | `rskit-inference` (model-serving abstractions) |
//! | `inference-triton` | Triton inference adapter |
//! | `inference-vllm` | vLLM inference adapter |
//! | `inference-tgi` | Hugging Face TGI inference adapter |
//! | `prompt` | Prompt schema helpers from `rskit-ai` |
//! | `skill` | `rskit-skill` (skill manifests and registries) |
//! | `tool` | `rskit-tool` (tool contracts) |
//! | `agent` | `rskit-agent` (agentic turn-loop engine) |
//! | `mcp` | `rskit-mcp` (tool registry to Model Context Protocol bridge) |
//! | `storage` | `rskit-storage` (File I/O, storage) |
//! | `media` | `rskit-media` (media types, pipeline) |
//! | `media-ffmpeg` | `rskit-media-ffmpeg` (`FFmpeg` backend) |
//! | `media-image` | `rskit-media-image` (image processing) |
//! | `media-audio` | `rskit-media-audio` (pure Rust audio analysis) |
//! | `media-full` | `FFmpeg` + image + audio backends |
//! | `storage-s3` | `S3` storage backend |
//! | `storage-gcs` | GCS storage backend |
//! | `cli` | `rskit-cli` (CLI helpers) |
//! | `git` | `rskit-git` (Git automation) |
//! | `dataset` | `rskit-dataset` (dataset collection) |
//! | `bench` | `rskit-bench` (ML benchmarking) |
//! | `full` | all features |
//!
//! Test helpers live in `rskit-testutil` and should be added directly as a
//! `dev-dependency`; they are intentionally not part of this production facade.
//!
//! # Quick start
//!
//! ```toml
//! [dependencies]
//! rskit-suite = { version = "0.2.0-alpha.2", features = ["full"] }
//! ```
//!
//! Or enable only the optional modules you need — for example recursive,
//! debounced filesystem-tree change watching:
//!
//! ```toml
//! [dependencies]
//! rskit-suite = { version = "0.2.0-alpha.2", features = ["fs-watch"] }
//! ```
// ── Always-on sub-crate facades ──────────────────────────────────────────────
/// Decoupled, domain-free utilities (strings, collections, env, etc).
pub use rskit_util as util;
/// Error types, `ErrorCode`, `AppError`, `AppResult`.
pub use rskit_errors as errors;
/// Local filesystem primitives.
pub use rskit_fs as fs;
/// Adapter-oriented config loading.
pub use rskit_config as config;
/// `tracing` subscriber setup.
pub use rskit_logging as logging;
/// Retry, circuit breaker, bulkhead, rate limiter — and tower layers.
pub use rskit_resilience as resilience;
/// Provider traits + tower bridge.
pub use rskit_provider as provider;
/// `futures::Stream` extension operators, broadcaster, sources, cancellable tasks.
pub use rskit_stream as stream;
/// App lifecycle orchestration.
pub use rskit_bootstrap as bootstrap;
/// Component lifecycle primitives: `Component`, `Registry`, health, and state.
pub use rskit_component as component;
/// Worker pool, `Handler` trait, typed events.
pub use rskit_worker as worker;
/// Fluent field-level validation.
pub use rskit_validation as validation;
/// Sequential chain execution utilities.
pub use rskit_chain as chain;
/// Safe subprocess execution helpers.
pub use rskit_process as process;
/// Stateful accumulators and keyed managers.
pub use rskit_stateful as stateful;
/// Build-time version and git metadata.
pub use rskit_version as version;
/// JSON Schema generation and validation helpers.
pub use rskit_schema as schema;
/// Typed event hook registry and event bus primitives.
pub use rskit_hook as hook;
// ── Feature-gated sub-crate facades ──────────────────────────────────────────
/// Service-facing server abstractions and lifecycle-managed transports.
pub use rskit_server as server;
/// Aligned gRPC transport namespace (opt-in via `grpc` feature).
pub use rskit_grpc as grpc;
/// Encryption helpers (opt-in via `encryption` feature).
pub use rskit_encryption as encryption;
/// Framework-neutral HTTP abstractions and Tower adapters.
pub use rskit_http as http;
/// Async HTTP client with auth, retries, and error handling.
pub use rskit_httpclient as httpclient;
/// JWT, OIDC, password hashing, and request-context auth helpers.
pub use rskit_auth as auth;
/// Lightweight runtime dependency injection container.
pub use rskit_di as di;
/// Database contracts with in-memory default and adapter registry.
pub use rskit_database as database;
/// Cache contracts with in-memory default and adapter registry.
pub use rskit_cache as cache;
/// Redis cache adapter.
pub use rskit_cache_redis as cache_redis;
/// Message broker abstractions and in-memory backend.
pub use rskit_messaging as messaging;
/// Kafka messaging adapter.
pub use rskit_messaging_kafka as messaging_kafka;
/// NATS messaging adapter.
pub use rskit_messaging_nats as messaging_nats;
/// `RabbitMQ` messaging adapter.
pub use rskit_messaging_rabbitmq as messaging_rabbitmq;
/// OpenTelemetry tracing, metrics, and context propagation.
pub use rskit_observability as observability;
/// RBAC and ABAC authorization engine.
pub use rskit_authz as authz;
/// Shared TLS and security configuration.
pub use rskit_security as security;
/// Service discovery with load balancing strategies.
pub use rskit_discovery as discovery;
/// Server-Sent Events bus with axum integration.
pub use rskit_sse as sse;
/// DAG task orchestrator with parallel execution.
pub use rskit_dag as dag;
/// Shared `GenAI` vocabulary.
pub use rskit_ai as genai;
/// LLM provider abstractions and shared chat/completion contracts.
pub use rskit_llm as llm;
/// `OpenAI` LLM adapter.
pub use rskit_llm_openai as llm_openai;
/// Anthropic LLM adapter.
pub use rskit_llm_anthropic as llm_anthropic;
/// Ollama LLM adapter.
pub use rskit_llm_ollama as llm_ollama;
/// Gemini LLM adapter.
pub use rskit_llm_gemini as llm_gemini;
/// Embedding provider abstractions and types.
pub use rskit_embedding as embedding;
/// Model-serving runtime inference abstractions.
pub use rskit_inference as inference;
/// Triton `KServe` v2 HTTP inference adapter.
pub use rskit_inference_triton as inference_triton;
/// vLLM REST inference adapter.
pub use rskit_inference_vllm as inference_vllm;
/// Hugging Face TGI REST inference adapter.
pub use rskit_inference_tgi as inference_tgi;
/// Prompt templates and output schema contracts.
pub use prompt;
/// Skill manifests, loaders, registries, and verification contracts.
pub use rskit_skill as skill;
/// Tool schemas, callable contracts, and metadata wrappers.
pub use rskit_tool as tool;
/// Agentic loop orchestration over providers, tools, and hooks.
pub use rskit_agent as agent;
/// Bridge between the rskit tool registry and Model Context Protocol.
pub use rskit_mcp as mcp;
/// File I/O, storage backends, MIME detection, temp files.
pub use rskit_storage as storage;
/// Amazon S3 and S3-compatible (`MinIO`, `LocalStack`) storage backend.
pub use rskit_storage_s3 as storage_s3;
/// Google Cloud Storage backend.
pub use rskit_storage_gcs as storage_gcs;
/// Vector store contracts with in-memory default and adapter registry.
pub use rskit_vectorstore as vectorstore;
/// Qdrant vector store adapter.
pub use rskit_vectorstore_qdrant as vectorstore_qdrant;
/// Media types, codec/format registry, pipeline builder.
pub use rskit_media as media;
/// `FFmpeg` CLI backend for video/audio processing.
pub use rskit_media_ffmpeg as media_ffmpeg;
/// Native image processing backend using the `image` crate.
pub use rskit_media_image as media_image;
/// Pure Rust audio analysis backend.
pub use rskit_media_audio as media_audio;
/// CLI helpers: progress bars, cancellation tokens, output formatting.
pub use rskit_cli as cli;
/// Git operations: repository management, commits, branches, tags, diffs.
pub use rskit_git as git;
/// Dataset collection: sources, transforms, targets, manifest caching.
pub use rskit_dataset as dataset;
/// ML benchmarking: evaluators, metrics, reports, visualization.
pub use rskit_bench as bench;
// ── Convenience re-exports at root ──────────────────────────────────────────
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;