Debian Codegraph @

/

debian rust-atomic-refcell 0.1.14-1debian librust-atomic-refcell-dev debian librust-atomic-refcell+default-dev debian librust-atomic-refcell+portable-atomic-dev debian librust-atomic-refcell+serde-dev debian librust-atomic-refcell-0-dev debian librust-atomic-refcell-0+default-dev debian librust-atomic-refcell-0+portable-atomic-dev debian librust-atomic-refcell-0+serde-dev debian librust-atomic-refcell-0.1-dev debian librust-atomic-refcell-0.1+default-dev debian librust-atomic-refcell-0.1+portable-atomic-dev debian librust-atomic-refcell-0.1+serde-dev debian librust-atomic-refcell-0.1.14-dev debian librust-atomic-refcell-0.1.14+default-dev debian librust-atomic-refcell-0.1.14+portable-atomic-dev debian librust-atomic-refcell-0.1.14+serde-dev cargo atomic_refcell 0.1.14 debianjsonmakefilemarkdownrustrust-c-abishelltoml 20 files · 307 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • cargo, debhelper-compat, librust-portable-atomic-1+require-cas-dev, librust-serde-1+default-dev, libstd-rust-dev, rustc
README (full)

atomic_refcell

A thread-safe analogue of RefCell for Rust.

Overview

AtomicRefCell provides RefCell-like borrow semantics (checked at runtime, with immutable and mutable borrows) for values shared across threads. It is designed for use cases where the caller can guarantee that mutable and immutable borrows never overlap concurrently, but still requires a Sync type.

The crate is no_std compatible.

Features

FeatureDescription
portable-atomicUse portable-atomic instead of core::sync::atomic. Enables support for targets without native atomic compare-and-swap instructions (e.g. thumbv6m-none-eabi).
serdeImplement Serialize and Deserialize for AtomicRefCell<T>.

Minimum Supported Rust Version (MSRV)

Rust 1.60 or later is required.

dir benches/
dir debian/
dir src/
dir tests/
file .cargo_vcs_info.json
file .gitignore
file Cargo.lock
file Cargo.toml
file Cargo.toml.orig
file LICENSE.APACHE
file LICENSE.MIT
file README.md
file SECURITY.md