Smart accessors for Rust

crate docs

Overview

There are many sorts of “smart pointers”. They have following things in common:

This crate provides “smart accessors”:

For code examples see the docs.

Usage

Simply include

smart_access = "0.6"

in your Cargo.toml.

Variants

The library, although being very small, includes some pluggable components.

For a bare-bones version use

smart_access = { version = "0.6", default-features = false }

But usually you'll want something more convenient.

Accessors for Vec, HashMap and BTreeMap

smart_access = { version = "0.6", default-features = false, features = ["collections"] }

A maximal no_std variant

smart_access = { version = "0.6", default-features = false, features = ["batch_ct", "detach"] }

Versions