runtimelib

Crates.ioruntimelib
lib.rsruntimelib
version0.25.0
sourcesrc
created_at2024-03-06 00:29:51.179275
updated_at2025-01-09 21:06:15.08474
descriptionJupyter runtime library
homepage
repositoryhttps://github.com/runtimed/runtimed
max_upload_size
id1164217
size74,702
Kyle Kelley (rgbkrk)

documentation

README

runtimelib

runtimelib is a Rust library for interacting with Jupyter kernels natively, over ZeroMQ.

Installation

Runtimelib allows you to pick which async runtime you want to use. If you're using tokio, include the tokio-runtime flag. For async-dispatcher users (AKA GPUI devs), use async-dispatcher-runtime. The async dispatcher runtime is also compatible for smol/async-std users.

Tokio Users

[dependencies]
runtimelib = { version = "0.24.0", features = ["tokio-runtime"] }

Async-dispatcher Users

[dependencies]
runtimelib = { version = "0.24.0", features = ["async-dispatcher-runtime"] }

Key Features

  • Jupyter Kernel Management: Discover, start, and manage Jupyter kernels.
  • Messaging Protocol: Implement Jupyter's wire protocol for communication with kernels over ZeroMQ.
  • Flexible Async Runtime: Support for both Tokio and async-dispatcher runtimes.

Documentation

For more detailed information about the API and its usage, please refer to the API documentation.

Contributing

We welcome contributions to Runtimelib! If you'd like to contribute, please:

  1. Fork the repository
  2. Create a new branch for your feature or bug fix
  3. Write tests for your changes
  4. Implement your changes
  5. Submit a pull request

Please make sure to update tests as appropriate and adhere to the existing coding style.

License

Runtimelib is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.

Commit count: 623

cargo fmt