#abstraction #redact #storage #framework #mongo-db #stores #error

yanked redact-data

Data abstractions for the Redact framework

0.4.1 Jul 6, 2021
0.4.0 Jun 21, 2021
0.3.0 Jun 12, 2021
0.2.0 May 28, 2021
0.0.32 May 20, 2021

#11 in #redact

Custom license

50KB
953 lines

DEPRECATED - redact-data

This repository has been deprecated and all relevant code migrated to redact-crypto.

Contains all data and data storage abstractions for the Redact framework.

Also contains implementations of the storage traits. Current supported implementations are:

  • mongodb
  • redact-store

To get started using this crate, view the docs here.


lib.rs:

redact-data

The redact-data crate contains all of the interfaces, data structures, and abstractions necessary to work with a unit of data in the redact world. It also contains implementations of the storage interface for storing and retrieving redact data with a variety of sources.

File directory:

  • data.rs: data definitions and conversions
  • storage.rs: trait for a data type that stores Data
  • storage/error.rs: error types for the storage abstractions
  • storage/mongodb.rs: storage implentation for mongodb
  • storage/redact.rs: storage implementation for a redact-store server

Dependencies

~28–42MB
~779K SLoC