5 releases

0.2.3 Oct 17, 2024
0.2.2 Jul 11, 2024
0.2.1 Jun 22, 2024
0.1.5 Dec 17, 2023
0.1.1 Mar 24, 2023

#924 in Concurrency

Download history 3408/week @ 2024-07-30 4007/week @ 2024-08-06 4571/week @ 2024-08-13 5100/week @ 2024-08-20 5345/week @ 2024-08-27 5944/week @ 2024-09-03 7812/week @ 2024-09-10 12197/week @ 2024-09-17 15916/week @ 2024-09-24 15128/week @ 2024-10-01 19902/week @ 2024-10-08 26004/week @ 2024-10-15 26809/week @ 2024-10-22 31286/week @ 2024-10-29 28841/week @ 2024-11-05 36033/week @ 2024-11-12

127,514 downloads per month
Used in 509 crates (10 directly)

Apache-2.0 OR MIT

1MB
20K 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