runtara_agents/lib.rs
1// Copyright (C) 2025 SyncMyOrders Sp. z o.o.
2// SPDX-License-Identifier: AGPL-3.0-or-later
3//! Agents Library - Reusable agent implementations for scenarios
4//!
5//! This library provides pre-compiled agent implementations that can be
6//! linked against scenario-specific code to speed up compilation.
7//!
8//! This file is compiled once at startup into `libagents.rlib` and then
9//! reused across all scenario compilations.
10
11// Re-export all agent modules from agents/ subdirectory
12#[path = "agents/compression.rs"]
13pub mod compression;
14#[path = "agents/csv.rs"]
15pub mod csv;
16#[path = "agents/datetime.rs"]
17pub mod datetime;
18#[path = "agents/extractors/mod.rs"]
19pub mod extractors;
20#[path = "agents/file.rs"]
21pub mod file;
22#[path = "agents/http.rs"]
23pub mod http;
24#[path = "agents/sftp.rs"]
25pub mod sftp;
26#[path = "agents/text.rs"]
27pub mod text;
28#[path = "agents/transform.rs"]
29pub mod transform;
30#[path = "agents/utils.rs"]
31pub mod utils;
32#[path = "agents/xml.rs"]
33pub mod xml;
34
35// Shared types
36pub mod types;
37
38// Shared connection management
39pub mod connections;
40
41// Re-export shared infrastructure
42pub mod registry;
43
44// Re-export commonly used types for scenario code
45pub use serde;
46pub use serde_json;