2 releases

0.1.5 Dec 17, 2023
0.1.4 Dec 16, 2023
0.1.3 May 6, 2023
0.1.2 Apr 4, 2023
0.1.0 Jan 15, 2023

#992 in Concurrency

Download history 129/week @ 2023-12-06 170/week @ 2023-12-13 130/week @ 2023-12-20 94/week @ 2023-12-27 271/week @ 2024-01-03 199/week @ 2024-01-10 169/week @ 2024-01-17 239/week @ 2024-01-24 291/week @ 2024-01-31 300/week @ 2024-02-07 180/week @ 2024-02-14 613/week @ 2024-02-21 469/week @ 2024-02-28 376/week @ 2024-03-06 477/week @ 2024-03-13 346/week @ 2024-03-20

1,752 downloads per month
Used in 9 crates (4 directly)

Apache-2.0 OR MIT

1MB
16K SLoC

portable-atomic-util

crates.io docs.rs license rustc

Synchronization primitives built with portable-atomic.

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

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

Compiler support: requires rustc 1.34+

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