orb 0.12.1

An abstraction for writing runtime agnostic async code. Orb provides interfaces to adapt different async runtimes like smol and tokio.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

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

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[lib]
name = "orb"
path = "src/lib.rs"

[[test]]
name = "buf_stream"
path = "tests/buf_stream.rs"

[[test]]
name = "unify_addr"
path = "tests/unify_addr.rs"

[[test]]
name = "worker_pool_blocking"
path = "tests/worker_pool_blocking.rs"

[dependencies.crossfire]
version = "3"
optional = true

[dependencies.futures-lite]
version = "2.6"

[dependencies.pin-project-lite]
version = "0.2"

[dev-dependencies.async-executor]
version = "1"

[dev-dependencies.fastrand]
version = "2.3"

[dev-dependencies.orb-smol]
version = "0"

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