Debian Codegraph @

/

debian rust-triomphe 0.1.14-1debian librust-triomphe-dev debian librust-triomphe+arc-swap-dev debian librust-triomphe+default-dev debian librust-triomphe+serde-dev debian librust-triomphe+stable-deref-trait-dev debian librust-triomphe+std-dev debian librust-triomphe+unsize-dev debian librust-triomphe-0-dev debian librust-triomphe-0+arc-swap-dev debian librust-triomphe-0+default-dev debian librust-triomphe-0+serde-dev debian librust-triomphe-0+stable-deref-trait-dev debian librust-triomphe-0+std-dev debian librust-triomphe-0+unsize-dev debian librust-triomphe-0.1-dev debian librust-triomphe-0.1+arc-swap-dev debian librust-triomphe-0.1+default-dev debian librust-triomphe-0.1+serde-dev debian librust-triomphe-0.1+stable-deref-trait-dev
10 more… debian librust-triomphe-0.1+std-dev debian librust-triomphe-0.1+unsize-dev debian librust-triomphe-0.1.14-dev debian librust-triomphe-0.1.14+arc-swap-dev debian librust-triomphe-0.1.14+default-dev debian librust-triomphe-0.1.14+serde-dev debian librust-triomphe-0.1.14+stable-deref-trait-dev debian librust-triomphe-0.1.14+std-dev debian librust-triomphe-0.1.14+unsize-dev cargo triomphe 0.1.14
debianjsonmakefilemarkdownrustrust-c-abishelltomlyaml 25 files · 569 symbols
View dependency graph

Depends on

  • dh-cargo (dh-sequence-cargo)
  • rust-arc-swap (librust-arc-swap-1+default-dev)
  • rust-stable-deref-trait (librust-stable-deref-trait-1-dev)
  • cargo, debhelper-compat, librust-serde-1-dev, librust-unsize-1+default-dev, libstd-rust-dev, rustc
README (full)

Triomphe

Fork of Arc. This has the following advantages over std::sync::Arc:

  • triomphe::Arc doesn't support weak references: we save space by excluding the weak reference count, and we don't do extra read-modify-update operations to handle the possibility of weak references.
  • triomphe::UniqueArc allows one to construct a temporarily-mutable Arc which can be converted to a regular triomphe::Arc later
  • triomphe::OffsetArc can be used transparently from C++ code and is compatible with (and can be converted to/from) triomphe::Arc
  • triomphe::ArcBorrow is functionally similar to &triomphe::Arc<T>, however in memory it's simply &T. This makes it more flexible for FFI; the source of the borrow need not be an Arc pinned on the stack (and can instead be a pointer from C++, or an OffsetArc). Additionally, this helps avoid pointer-chasing.
  • triomphe::Arc has can be constructed for dynamically-sized types via from_header_and_iter
  • triomphe::ThinArc provides thin-pointer Arcs to dynamically sized types
  • triomphe::ArcUnion is union of two triomphe:Arcs which fits inside one word of memory

This crate is a version of servo_arc meant for general community use.

dir .github/
dir debian/
dir src/
file .cargo_vcs_info.json
file .editorconfig
file .gitignore
file Cargo.toml
file Cargo.toml.orig
file LICENSE-APACHE
file LICENSE-MIT
file README.md