File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ // @module Echo Crate
2+ // @description A high-performance, structured concurrency and task scheduling
3+ // library for Rust, built on top of `tokio` and a work-stealing queue. Echo is
4+ // designed to natively execute `Future`s, providing a robust runtime for
5+ // complex, asynchronous applications.
6+ //
7+
8+ #![ allow( non_snake_case, non_camel_case_types) ]
9+
10+ // --- Public API ---
11+ pub mod scheduler;
12+ pub mod task;
13+
14+ // --- Internal Implementation ---
15+ mod queue;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1-
2-
3- /**
4- * @module queue
5- * @description This module provides the high-performance, concurrent queueing
6- * implementations used by the Echo scheduler. These are internal components
7- * of the library.
8- */
1+ // @module queue
2+ // @description This module provides the high-performance, concurrent queueing
3+ // implementations used by the Echo scheduler. These are internal components
4+ // of the library.
5+ //
96
107#![ allow( non_snake_case, non_camel_case_types) ]
118
129mod StealingQueue ;
1310
14- /**
15- * Re-exports the `StealingQueue` for use within the `Echo` crate, but keeps it
16- * private from external consumers.
17- * @see StealingQueue
18- */
11+ // Re-exports the `StealingQueue` for use within the `Echo` crate, but keeps it
12+ // private from external consumers.
13+ // @see StealingQueue
14+ //
1915pub ( crate ) use self :: StealingQueue :: StealingQueue ;
Original file line number Diff line number Diff line change 1-
2-
3- /**
4- * @module scheduler
5- * @description This module defines the core public API for the Echo task scheduler.
6- * It provides the `SchedulerBuilder` for configuration and the `Scheduler` itself
7- * for managing the worker pool and submitting tasks.
8- */
1+ // @module scheduler
2+ // @description This module defines the core public API for the Echo task
3+ // scheduler. It provides the `SchedulerBuilder` for configuration and the
4+ // `Scheduler` itself for managing the worker pool and submitting tasks.
5+ //
96
107#![ allow( non_snake_case, non_camel_case_types) ]
118
@@ -16,15 +13,11 @@ mod Worker;
1613
1714// --- Public Re-exports ---
1815
19- /**
20- * The main scheduler struct that manages the worker pool and task execution.
21- * @see Scheduler
22- */
16+ // The main scheduler struct that manages the worker pool and task execution.
17+ // @see Scheduler
18+ //
2319pub use self :: Scheduler :: Scheduler ;
24-
25- /**
26- * The fluent builder for creating and configuring a `Scheduler` instance.
27- * This is the primary entry point for using the Echo library.
28- * @see SchedulerBuilder
29- */
20+ // The fluent builder for creating and configuring a `Scheduler` instance.
21+ // This is the primary entry point for using the Echo library.
22+ // @see SchedulerBuilder
3023pub use self :: SchedulerBuilder :: SchedulerBuilder ;
Original file line number Diff line number Diff line change 1-
2-
3- /**
4- * @module task
5- * @description This module defines the core data structures for the Echo scheduler,
6- * including the `Task` itself and its `Priority`.
7- */
1+ // @module task
2+ // @description This module defines the core data structures for the Echo
3+ // scheduler, including the `Task` itself and its `Priority`.
4+ //
85
96#![ allow( non_snake_case, non_camel_case_types) ]
107
@@ -14,14 +11,10 @@ mod Task;
1411
1512// --- Public Re-exports ---
1613
17- /**
18- * The enum representing the priority of a task.
19- * @see Priority
20- */
14+ // The enum representing the priority of a task.
15+ // @see Priority
16+ //
2117pub use self :: Priority :: Priority ;
22-
23- /**
24- * The struct representing a single unit of work for the scheduler.
25- * @see Task
26- */
18+ // The struct representing a single unit of work for the scheduler.
19+ // @see Task
2720pub use self :: Task :: Task ;
You can’t perform that action at this time.
0 commit comments