15
Rust equivalent for Python's shelve?
(lemmy.ml)
Maybe sled: https://crates.io/crates/sled
You are probably looking for a database (possibly an embedded database) that supports a key/value or document store. Using those keywords will let you find things similar to what you are looking for.
But some you might want to look at are:
Then there is always redis which is the standard key/value store or really data structures as a service solution for most languages and sees a lot of production use. This is stand-alone service only though and cannot be embedded in a rust binary.