orb 0.12.0

An abstraction for writing runtime agnostic async code. Orb provides interfaces to adapt different async runtimes like smol and tokio.
Documentation
[workspace]
members = ["tokio", "smol", "test-utils"]

[package]
name = "orb"
version = "0.12.0"
edition = "2024"
authors = ["plan <frostyplanet@gmail.com>"]
categories = ["concurrency", "network-programming"]
documentation = "https://docs.rs/orb"
repository = "https://github.com/NaturalIO/orb"
keywords = ["networking", "async", "io", "runtime"]
license = "MIT"
description = """
An abstraction for writing runtime agnostic async code.
Orb provides interfaces to adapt different async runtimes like smol and tokio.
"""

[dependencies]
pin-project-lite = "0.2"
futures-lite = "2.6"
crossfire = { version="3", optional=true}

[features]
default = []
worker = ["dep:crossfire"]

[dev-dependencies]
fastrand = "2.3"
async-executor = "1"
orb-smol = {version="0", path="smol"}

[workspace.lints.clippy]
new_ret_no_self = "allow"
needless_range_loop = "allow"
type_complexity = "allow"
needless_return = "allow"
mut_from_ref = "allow"
transmute_ptr_to_ref = "allow"
len_without_is_empty = "allow"

[lints]
workspace=true