#revision #database-migrations #wikidot #database #nuscp

yanked deepwell-core

Database management and migrations service

0.0.8 Feb 12, 2020
0.0.6 Jan 26, 2020

#6 in #wikidot


Used in deepwell-rpc

AGPL-3.0-or-later

40KB
785 lines

DEEPWELL Core

Library with published data types from DEEPWELL. See that repository for more information on what DEEPWELL is and how you might use it.

This crate publishes three categories of item:

The first is the Error type, which represents possible failure modes of DEEPWELL operations.

Second are the collection of Id types, which are cheap wrappers around an i64. This ensures that arithmetic cannot be performed on them and raises the confidence that it actually corresponds to a row in the database.

Finally there are models, which are diesel-queryable representations of rows retrieved from disk. They are serializable and read-only.

Dependencies

~8.5MB
~151K SLoC