zksync_object_store

Crates.iozksync_object_store
lib.rszksync_object_store
version0.1.0
sourcesrc
created_at2024-07-12 13:41:43.04995
updated_at2024-07-12 13:41:43.04995
descriptionZKsync implementation of object stores
homepagehttps://zksync.io/
repositoryhttps://github.com/matter-labs/zksync-era
max_upload_size
id1300702
size50,161
crates-io (github:matter-labs:crates-io)

documentation

README

Object Store

This crate provides the object storage abstraction that allows to get, put and remove binary blobs. The following implementations are available:

  • File-based store saving blobs as separate files in the local filesystem
  • GCS-based store
  • Mock in-memory store

Normally, these implementations are not used directly. Instead, a store trait object can be constructed based on the configuration, which can be provided explicitly or constructed from the environment. This trait object is what should be used for dependency injection.

Besides the lower-level storage abstraction, the crate provides high-level typesafe methods to store (de)serializable objects. Prefer using these methods whenever possible.

Commit count: 1500

cargo fmt