#traits #async

nightly no-std abs_sync

ABStraction of SYNchronization

2 unstable releases

Uses new Rust 2024

0.2.0 Jun 16, 2025
0.1.0 Oct 9, 2024

#419 in No standard library

Download history 8/week @ 2026-03-02 100/week @ 2026-03-09

107 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

23KB
653 lines

abs_sync

Abstraction of synchronization for sync/async programming in Rust
This crate provide traits about cancellation, locks and mutex.

Required unstable features:

#![feature(sync_unsafe_cell)]
#![feature(try_trait_v2)]
#![feature(type_alias_impl_trait)]

Why would I need this?

  • To implement async tasks with graceful cancellation
  • To implement business with lock and/or mutex that can be injected on demand

No runtime deps