Registry / utility / triomphe

triomphe

JSON →
library0.1.15rscratesunverified

A fork of std::sync::Arc with extra functionality and without weak references.

# Cargo.toml [dependencies] triomphe = "0.1.15"
INSTALL
IMPORT
SIG · TRIOMPHE
T
triomphe
utilityrustv0.1.15
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Arc
use triomphe::Arc;

Creates a reference-counted integer using triomphe::Arc.

use triomphe::Arc; fn main() { let data = Arc::new(42); println!("{}", *data); }
Debug
Known issues
gotchaDoes not support weak references; use std::sync::Arc if weak references are needed.
fix
Replace triomphe::Arc with std::sync::Arc if you need Weak pointers.
affects: >=0.1.0
Upgrade
Version history
0.1.15latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
triomphe — cargo add triomphe · libregistry