Crate nodb

Source
Expand description

§NoDb

======

NoDb is a simple key-value store that stores data in a single file. It is designed to be used in small projects where a full-fledged database is not required. It is based on PickleDB-RS

§Features

  • Simple: NoDb is simple to use, similar to PickleDB.
  • Fast: NoDb is fast, as it stores data in memory and writes to disk only when required.
  • Lightweight: NoDb is lightweight, with only a few dependencies.
  • Serialization: NoDb supports different serialization methods with Serde.
  • Encrypted: NoDb supports encryption of data (Currently uses Base64 Encryption).

Structs§

NoDb
A struct that represents a NoDb object.
NoDbExt
A struct for extending NoDb lists and adding more items to them.
NoDbIter
Iterator object for iterating over keys and values in NoDb. Returned in NoDb::iter()
NoDbIterItem
The object returned in each iteration when iterating over keys and values in NoDb
NoDbListIter
Iterator object for iterating over items in a NoDb list. Returned in NoDb::liter()
NoDbListIterItem
The object returned in each iteration when iterating over a NoDb list

Enums§

DumpPolicy
An enum that determines the policy of dumping NoDb changes into the file
SerializationMethod

Type Aliases§

Result
Result<T, Error>