Skip to content

Commit

Permalink
Mention ThinArc
Browse files Browse the repository at this point in the history
  • Loading branch information
vorner committed Jan 8, 2022
1 parent 7e16ca3 commit d0d296d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Unreleased

* docs: Mention triomphe's `ThinArc` around the fat-pointer limitations.

# 1.5.0

* Support serde (by a feature).
Expand Down
5 changes: 5 additions & 0 deletions src/docs/limitations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
//! # drop(data);
//! ```
//!
//! It also may be possible to use `ArcSwap` with the [`triomphe::ThinArc`] (that crate needs
//! enabling a feature flag to cooperate with `ArcSwap`).
//!
//! # Too many [`Guard`]s
//!
//! There's only limited number of "fast" slots for borrowing from [`ArcSwap`] for each single
Expand Down Expand Up @@ -46,3 +49,5 @@
//! let new = ArcSwap::new(old.load_full());
//! # let _ = new;
//! ```
//!
//! [`triomphe::ThinArc`]: https://docs.rs/triomphe/latest/triomphe/struct.ThinArc.html

0 comments on commit d0d296d

Please sign in to comment.