3 unstable releases

0.2.0 May 7, 2024
0.1.5 Dec 17, 2023
0.1.3 May 6, 2023
0.1.2 Apr 4, 2023
0.1.0 Jan 15, 2023

#990 in Concurrency

Download history 121/week @ 2024-01-22 289/week @ 2024-01-29 311/week @ 2024-02-05 281/week @ 2024-02-12 360/week @ 2024-02-19 482/week @ 2024-02-26 548/week @ 2024-03-04 347/week @ 2024-03-11 493/week @ 2024-03-18 307/week @ 2024-03-25 390/week @ 2024-04-01 235/week @ 2024-04-08 195/week @ 2024-04-15 294/week @ 2024-04-22 1365/week @ 2024-04-29 1650/week @ 2024-05-06

3,545 downloads per month
Used in 15 crates (5 directly)

Apache-2.0 OR MIT

1MB
16K SLoC

portable-atomic-util

crates.io docs.rs license msrv github actions cirrus ci

Synchronization primitives built with portable-atomic.

  • Provide Arc. (optional, requires the std or alloc feature)
  • Provide task::Wake. (optional, requires the std or alloc feature)

See #1 for other primitives being considered for addition to this crate.

Optional features

  • std
    Use std.

    Note:

    • This implicitly enables the alloc feature.
  • alloc
    Use alloc.

    Note:

    • The MSRV when this feature is enabled and the std feature is not enabled is Rust 1.36 that alloc crate stabilized.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies