scoped-vec 0.0.1

A library for scoped Vecs, allowing multi-level divergence from the root element.
Documentation
  • Coverage
  • 33.33%
    3 out of 9 items documented1 out of 9 items with examples
  • Size
  • Source code size: 11.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.53 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • w4

scoped-vec.rs

License: WTFPL https://docs.rs/scoped-vec/ Downloads

A library for scoped Vecs, allowing multi-level divergence from the root element.

This is useful for monitoring state within a de facto tree where links to parents aren't necessarily needed. Consumers can keep references to a specific parent if required and check the values from the scope of their choosing, parents are free to be dropped if they're no longer required.

The full std::vec::Vec spec has not yet been implemented but as the library stabilises, more and more of the Vec library will be supported - however there will be some divergence from the API where necessary given the structural differences of a ScopedVec.

The library isn't yet ready for consumption in any production-level software but feel free to use it in side projects and make contributions where you find necessary.