Skip to content

Commit e80caf3

Browse files
refactor(Common): Remove deprecated Effect and Transport layer modules
The `Effect` module in Library.rs and the transport implementation modules (gRPC, IPC, WASM, Registry, Metrics, Retry, CircuitBreaker) in Transport/mod.rs—along with their DTO subcomponents (UnifiedRequest, UnifiedResponse, TransportError)—have been deprecated as the architecture migrates away from this transport abstraction. Keep only the core modules (Environment, Error) and the Common transport interface. The DTO module retains only the Correlation submodule for now. This cleanup removes dead code following the architectural shift to the new IPC and telemetry patterns.
1 parent 43413fd commit e80caf3

3 files changed

Lines changed: 0 additions & 31 deletions

File tree

Source/Library.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@
5555
//!
5656
//! Full setup: <https://github.com/CodeEditorLand/Land>
5757
58-
// --- Core Architecture ---
59-
pub mod Effect;
60-
6158
pub mod Environment;
6259

6360
pub mod Error;

Source/Transport/DTO/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
11
//! # Transport DTOs
2-
//!
3-
//! Data Transfer Objects used by the transport layer.
4-
5-
// Core DTOs
6-
pub mod UnifiedRequest;
7-
8-
pub mod UnifiedResponse;
9-
10-
pub mod TransportError;
112
123
pub mod Correlation;

Source/Transport/mod.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,23 +55,4 @@ pub mod UnifiedResponse;
5555

5656
pub mod TransportConfig;
5757

58-
// --- Transport Implementations (proper acronym casing: gRPC, IPC, WASM) ---
59-
pub mod gRPC;
60-
61-
pub mod IPC;
62-
63-
pub mod WASM;
64-
65-
// --- Infrastructure ---
66-
pub mod Registry;
67-
68-
pub mod Metrics;
69-
70-
pub mod Retry;
71-
72-
pub mod CircuitBreaker;
73-
7458
pub mod Common;
75-
76-
// --- Data Transfer Objects ---
77-
pub mod DTO;

0 commit comments

Comments
 (0)