portable-atomic-util

Crates.ioportable-atomic-util
lib.rsportable-atomic-util
version0.2.2
sourcesrc
created_at2023-01-15 07:29:59.25069
updated_at2024-07-11 14:10:17.36273
descriptionSynchronization primitives built with portable-atomic.
homepage
repositoryhttps://github.com/taiki-e/portable-atomic
max_upload_size
id759284
size161,001
Taiki Endo (taiki-e)

documentation

README

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.

Commit count: 1301

cargo fmt