mozilla / rkv

A simple, humane, typed key-value storage solution.
https://crates.io/crates/rkv
Apache License 2.0
307 stars 52 forks source link

Allow safe mode environment managers #162

Closed victorporof closed 4 years ago

victorporof commented 4 years ago

158 added a safe mode to RKV, but didn't extend this functionality to managers.

To preserve as much of the API as possible, users shouldn't know that a manager isn't really necessary for safe mode backends; they should instead be able to seamlessly switch between different backends.