atlas-ctx

Crates.ioatlas-ctx
lib.rsatlas-ctx
version0.3.1
created_at2025-12-21 02:42:38.071563+00
updated_at2025-12-21 05:43:04.034795+00
descriptionAn asynchronous task context management library
homepage
repositoryhttps://github.com/ast-24/mod_rust_atlas
max_upload_size
id1997229
size259,778
ast (ast-24)

documentation

README

atlas-ctx

An experimental asynchronous task context management library for Rust.

⚠️ Warning: This library is experimental and unstable. The API may change significantly between versions. Use in production at your own risk.

Features

  • Hierarchical task context management
  • Cancellation propagation
  • Pause/resume functionality
  • collecting results from child tasks
  • Semaphore-based concurrency control
  • Scope-based value sharing
  • Customizable logging

Installation

Add this to your Cargo.toml:

[dependencies]
atlas-ctx = "0.1"

Quick Example

use atlas::{Atlas, Builder};

#[tokio::main]
async fn main() {
    let atlas = Builder::new().build();

    // Create and manage async task contexts
    // See documentation for more details
}

Requirements

  • Rust 2024 edition
  • Tokio runtime

License

MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

Contributing

Contributions are welcome! Please note that this is an experimental project and the API is subject to change.

Commit count: 0

cargo fmt