docs.rs failed to build rong_storage-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rong_storage-0.1.1
rong_storage
Key-value storage backed by a local database file.
JS APIs
new Storage(path, options?)— construct a storage instance directly- Options:
maxKeySize,maxValueSize,maxDataSize
- Options:
Storageinstance methods:set(key, value)— store a key-value pairget(key)— retrieve a value by keydelete(key)— remove a keyclear()— remove all entrieslist(prefix?)— list keys, optionally filtered by prefixinfo()— get storage info (currentSize,limitSize,keyCount)
Rust API
Storage::new(path, options)— create a pre-configured instance from Rust, useful for environments that inject instances via a platform namespace instead of exposing the JS constructor.