acceptor-alloc is the alloc-powered bundle of acceptors built on accepts. This document captures design and layout details that go beyond the README.
- Provide acceptors that need heap-backed collections without pulling in
std. - Keep shapes consistent with the
acceptorseries (sync/async variants where appropriate). - Minimize dependencies to
alloc+accepts.
- Requires
allocbut notstd. - Depends on
accepts(no extra features enabled). - No feature flags are exposed.
- Core traits live in
accepts. - no_std bundle:
acceptor. - Sibling bundles:
acceptor-alloc,acceptor-std, etc., as separate crates (not feature-gated). - Official bundles use the
acceptor-*prefix so it’s clear what we maintain.
| acceptor-alloc | accepts |
|---|---|
| 0.0.1 | 0.0.2 |
btree_kv_router/:BTreeKVRouterroutes(Key, Value)pairs viaBTreeMap, with optional fallback.support/: test helpers (block_on,Recorder).
All acceptors implement accepts::{Accepts, AsyncAccepts}.
- Unit tests live alongside modules;
cargo testis the primary check. - No doctests currently.