Skip to content

Commit 84b8390

Browse files
1 parent 64fca95 commit 84b8390

5 files changed

Lines changed: 44 additions & 64 deletions

File tree

Source/Library.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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;

Source/lib.rs

Lines changed: 0 additions & 17 deletions
This file was deleted.

Source/queue/mod.rs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
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

129
mod 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+
//
1915
pub(crate) use self::StealingQueue::StealingQueue;

Source/scheduler/mod.rs

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
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+
//
2319
pub 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
3023
pub use self::SchedulerBuilder::SchedulerBuilder;

Source/task/mod.rs

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
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+
//
2117
pub 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
2720
pub use self::Task::Task;

0 commit comments

Comments
 (0)