acceptor-std
acceptor-std is a std-powered bundle of acceptors built on the accepts core traits. It adds acceptors that require the standard library (e.g., std::sync::mpsc).
⚠️ Pre-release: version 0.0.1 is experimental. APIs and crate layout may change without backward compatibility guarantees.
Add the dependency
[]
= "0.0.1"
Example: forward through std::sync::mpsc::Sender and print the send result
use channel;
use ;
use Accepts;
let = channel;
let sender = new;
sender.accept;
sender.accept;
drop; // close the channel
assert_eq!;
assert_eq!;
Version map
| acceptor-std | accepts |
|---|---|
| 0.0.1 | 0.0.2 |
More
See ARCHITECTURE.md for design notes and the broader acceptor series lineup.
License
MIT OR Apache-2.0