#smart-pointers

  1. yoke

    Abstraction allowing borrowed data to be carried along with the backing data it borrows from

    v0.7.5 4.5M #zero-copy #lifetime #self-referential #data-source #serialization #borrow #smart-pointers
  2. auto_impl

    Automatically implement traits for common smart pointers and closures

    v1.2.1 577K #smart-pointers #traits #closures #proc-macro #proc-macro-attributes #impl #closure
  3. archery

    Abstract over the atomicity of reference-counting pointers

    v1.2.1 252K #smart-pointers #reference-counting #rc #arc #data-structures #atomic
  4. by_address

    Wrapper for comparing and hashing pointers by address

    v1.2.1 143K #smart-pointers #pointers #raw-pointers #reference #rc #hash #arc
  5. pinned-init

    facilitate safe pinned initialization

    v0.0.9 850 #safe #stack-overflow #init #pin #rust-patterns #smart-pointers #no-std
  6. screen-13

    Vulkan rendering engine in the spirit of QBasic

    v0.11.4 1.2K #rendering-engine #vulkan #smart-pointers #shader #render-graph #descriptor
  7. idr-ebr

    An efficient concurrent ID to object resolver

    v0.3.1 470 #lock-free #wait-free #slab #idr #ebr #data-structures #smart-pointers
  8. aarc

    Atomically updatable variants of Arc and Weak for lock-free concurrency

    v0.3.2 9.4K #smart-pointers #arc #lock-free #hazard-pointers #atomic #thread-safe #data-structures
  9. arcshift

    Replacement for std::sync::Arc<T> that supports updating the value, with some caveats

    v0.1.10 #smart-pointers #arc #atomic #value #linked-list #instance #thread
  10. rust-cc

    A cycle collector for Rust programs

    v0.6.2 #smart-pointers #garbage-collection #memory #reference-counting #gc #cycle-collector #rc
  11. atomptr

    A safe, dependency-less abstraction for typed atomic smart pointers

    v1.4.1 170 #smart-pointers #memory-management #atomic #lock-free #memory #concurrency #performance
  12. im-lists

    Persistent unrolled linked lists and vlists

    v0.8.2 310 #linked-list #persistent #list #smart-pointers #immutability #vlist #unrolled-linked-list
  13. trc

    A faster Arc

    v1.2.4 #reference-counting #smart-pointers #thread-safe #reference-data #memory #shared-data
  14. ocaml-boxroot-sys

    Boxroot for OCaml: fast movable GC roots (C API)

    v0.4.0-rc1 58K #ocaml #foreign-interface #ffi #rust #smart-pointers
  15. twinsies

    Smart pointer providing 2-way joint ownership of an object

    v1.2.1 #smart-pointers #shared-ptr #shared-state #joint #ownership #object #cell
  16. oco_ref

    A smart pointer for storing immutable values with relatively-cheap cloning. (Like a Cow meets an Rc!)

    v0.2.0 34K #smart-pointers #reference-counting #immutability #cloning #string #cow #values
  17. easy_node

    Smart pointer for graph nodes

    v0.3.2 300 #smart-pointers #graph-node #node #rc #data-structures #weak #optimized
  18. cactusref

    Cycle-aware reference counting smart pointer

    v0.5.0 #smart-pointers #garbage-collection #memory-leaks #rc #pointers
  19. imstr

    Cheaply clonable and slicable immutable strings

    v0.2.0 130 #string-parser #slice #smart-pointers #zero-copy #shared-data #byte-slice #immutability
  20. maprc

    Rc and Arc alternatives that allow the smart pointer to refer to just a portion of a reference-counted allocation

    v0.4.0 #smart-pointers #reference-counting #allocation #shared #arc #portion #refer
  21. reffers

    Smart pointers: ARef, that allows even further owner erasure than OwningRef. Strong is a memory efficient Rc + RefCell in one. And more!

    v0.7.0 110 #smart-pointers #refcell #cell #ref #owning-ref
  22. pierce

    Avoid double indirection in nested smart pointers

    v0.3.0 #smart-pointers #pointers #cache
  23. wrc

    A thread-safe weighted reference counting smart-pointer for Rust

    v2.0.0 #reference-counting #smart-pointers #thread-safe #weight #weighted #synchronization #heap
  24. objc_id

    Rust smart pointers for Objective-C reference counting

    v0.1.1 196K #reference-counting #smart-pointers #objective-c #macos-ios #ios #weak-references #osx
  25. rel-ptr

    building movable self-referential types

    v0.2.3 #pointers #smart-pointers #relative #ptr #smart #memory-address
  26. recursive_reference

    way to walk on recursive structures easily and safely

    v0.3.0 #smart-pointers #recursion #reference #data-structures #recursive #traversal #linked-list
  27. refbox

    A smart pointer with a single owner and many weak references

    v0.3.0 #smart-pointers #weak-references #reference-data #weak #reference #pointers #reference-counting
  28. heapnotize

    A smart pointer type for memory allocation on the stack

    v1.1.0 #smart-pointers #stack-memory #stack #memory-management #heap-allocation #memory-allocation
  29. smart_access

    A minimalistic "lazy bidirectional pointer" framework

    v0.7.0 #data #data-access #optics #framework #linked-data #lens #smart-pointers
  30. granite

    Generic backing storage framework for building data structures

    v1.1.1 #memory-management #structures #data-structures #garbage-collection #smart-pointers #sparse-storage #element
  31. speedy_refs

    A collection of simple and fast and useful smart pointers

    v0.2.7 #smart-pointers #ownership #reference #refcell #rc #shared #blazingly
  32. audio-garbage-collector

    Wrapper on top of basedrop that provides a drop-in GC API that’ll collect reference-counted values on a background thread

    v1.2.0 140 #background-thread #reference-counting #audio #smart-pointers #gc #values #collection
  33. cervine

    A slightly more flexible Cow; roughly to T: Borrow<R> as alloc::borrow::Cow is to B: ToOwned

    v0.0.6 #smart-pointers #cow #serde #borrow #data-structures
  34. laxcow

    Clone-on-write smart pointer with relaxed trait constraints

    v0.2.0 #smart-pointers #cow #clone-on-write #no-std #traits #relaxed #constraints
  35. tiptoe

    An easy-to-support intrusively reference-counting smart pointer

    v0.0.2 160 #smart-pointers #rc #intrusive #arc
  36. unsize

    A stable alternative to CoerceUnsize

    v1.1.0 40K #smart-pointers #unsized #memory #traits #conversion #allocator #object
  37. windows_safe_handle

    Generate smart pointers for https://crates.io/crates/windows raw handles with ergonomic APIs

    v0.2.0 #smart-pointers #winapi #handle #api #raw #windows #generate
  38. dairy

    A more compact, user friendly clone-on-write smart pointer

    v0.2.2 #smart-pointers #cow #borrow #str #user-friendly #slice #path
  39. boar

    Flexible clone on write smart pointers with Borrowed, Owned, Arc, Rc and Static variants. Like std's Cow without the ToOwned requirement and additional Rc, Arc or Static variants

    v0.2.4 #smart-pointers #rc #pointers #cow #shared-ptr #shared #string
  40. dropcount

    Count destructor calls

    v0.1.2 #smart-pointers #memory #drop #memory-leaks #destructor #calls #unsafe
  41. tracing-rc

    Cycle-aware reference-counted pointers with a safe, simple api

    v0.1.3 #smart-pointers #reference-counting #data-structures #cycle #gc #weak-references #safe
  42. bos

    Flexible Borrowed, Owned or Shared (B.O.S.) smart pointers. Like std's Cow but with Rc/Arc and without the ToOwned requirement

    v0.3.1 #smart-pointers #pointers #cow #shared #shared-ptr #string #rc
  43. spinout

    A thread-safe clonable and mutable smart-pointer akin to Arc<Mutex<T>>, using spin-lock instead of system futex

    v0.0.12 #smart-pointers #parallel #concurrency
  44. lazy-st

    Single-threaded lazy evaluation

    v1.0.0 130 #single-threaded #lazy-evaluation #smart-pointers #computation #values #thread #run-time
  45. timed-locks

    Smart pointers to tokio::sync locks that either panic or error after a timeout

    v0.1.1 260 #smart-pointers #pre-commit #locks #timeout #sync #error #tokio
  46. basedrop

    Memory-management tools for real-time audio and other latency-critical scenarios

    v0.1.2 1.3K #real-time #scenario #audio #smart-pointers #collector #shared #memory-management
  47. com-scrape-types

    Support code for bindings generated with com-scrape

    v0.1.1 #generated-bindings #com-interface #smart-pointers #object #reference-counting #class #com-scrape
  48. smart-ptr

    Alternative smart pointers for Rust

    v0.5.0 #smart-pointers #ptr #pointers #pointer
  49. Try searching with DuckDuckGo.

  50. larc

    Lazy Arc/Weak pointers

    v0.5.0 #smart-pointers #lazy-evaluation #arc #static #cow #configuration-management #data-management
  51. ctb

    ctb unifies borrowed and owned values into a smart pointer that is internally borrowed to retain ownership

    v1.1.0 #smart-pointers #ownership #borrowed #owned #values #reference
  52. mlsp

    small library for smart pointers that use both thread local and global atomic counters

    v0.2.0 #smart-pointers #thread-local #counter #atomic #global #rc #reference
  53. ownref

    Provide the smart pointer type that bundles the data with its owner

    v0.3.1 #owner #pointers #data #smart-pointers #reference #content #address
  54. smart

    dynamically-dispatched smart pointers

    v0.1.1 #smart-pointers #thread-safe #ownership #shared #dynamic #rc #construct
  55. a_r_c_h_e_r_y

    TEMPORARY CRATE

    v0.4.3 #arc #reference-counting #rc #smart-pointers #no-std
  56. dense-heap

    code defines a custom allocator called DHeap (Dense Heap) and a smart pointer called DBox (Dense Box). The DHeap is responsible for managing memory allocation, while the DBox

    v0.1.2 #smart-pointers #memory #dense #heap #memory-allocator #heap-allocator #dheap
  57. close

    Trait + smart pointer for manual object destruction

    v0.2.0 #smart-pointers #object #manual #drop #destruction #self #closing
  58. rscontainer

    Manages dependencies between objects

    v0.1.0 #container #injection #service #manager #dependencies #smart-pointers
  59. mutable-constant

    Mutable access to a constant value

    v0.1.0 #value #mutable #constant #smart-pointers
  60. any_handle

    A thread-safe, type-safe smart pointer that can share, store and downcast a dyn Any

    v0.1.4 #smart-pointers #container #downcast #thread-safe #rw-lock #store #reference-counting
  61. unique_ptr

    smart pointer implementation in Rust

    v0.1.3 #smart-pointers #lib #memory #ownership #unique #clone #ptr
  62. multiref

    Multireferences: a safe way to do [&T] -> &[T]

    v0.1.2 #reference #smart-pointers #library #distributive-law
  63. xarc

    xarc provides atomically swappable atomically refcounted smart pointers as a safer building block for lockfree algorithms than raw atomic pointers. Xarc is comparable to Arc but…

    v0.3.0 #smart-pointers #lock-free #performance #generic #memory #building-block #reference-counting
  64. dybs

    An experiment in dynamic single-owner, multiple-borrow smart pointers

    v0.3.0 #smart-pointers #dynamic #experiment #value #multiple-borrow #single-owner
  65. async_destruction

    A smart pointer which executes drop asynchronously in tokio

    v0.1.1 #drop #smart-pointers #async #execute #tokio #destruction
  66. uni_rc_lock

    trait which may represent either Rc<RefCell<T>> or Arc<RwLock<T>>

    v0.2.0 #smart-pointers #lock #rc #arc
  67. boow

    Borrow Or oWned smart pointer. Alternative to Cow.

    v0.1.3 2.9K #smart-pointers #pointers #cow #owned #bow #borrow #pointer
  68. mm_ptr

    Smart pointers implementing abs_mm

    v0.1.0 #pointers #alloc #smart-pointers #pointer
  69. drc

    add a new "Drc" smart pointer

    v0.1.2 #pointers #rc #smart-pointers #pointer #weak-references
  70. simple_linked_list

    A singly linked list made using smart pointer

    v0.1.0 #linked-list #singly #pointers #smart #smart-pointers
  71. strong_rc

    Reference counting smart pointer without weak count

    v0.1.4 #smart-pointers #rc #strong #smart #pointers
  72. elicit_macro

    SmartPointer-like structure for polymorphism

    v0.2.5 #utility #polymorphism #smart-pointers #structure #smart-pointer-like
  73. ts-mem-pool

    thread-safe memory pool crate

    v0.1.3 #memory-pool #memory #pool #thread-safe #safe #thread #smart-pointers
  74. smart-pointer

    Traits for smart pointer functionality

    v0.2.0 #smart-pointers #traits #ownership #values #shared #specifying #conversion
  75. Pointers_Study_With_Core_Concepts

    A study on rust smart pointers, with their essential concepts documented

    v0.1.0 #pointers_study_with_core_concepts #smart-pointers #concepts #study #documented