#wikidot #revision #database #nuscp

deepwell-core

Database management and migrations service

7 releases

0.0.8 Feb 12, 2020
0.0.6 Jan 26, 2020

#314 in Asynchronous

Download history 13/week @ 2020-10-30 17/week @ 2020-11-06 18/week @ 2020-11-13 16/week @ 2020-11-20 23/week @ 2020-11-27 20/week @ 2020-12-04 17/week @ 2020-12-11 5/week @ 2020-12-18 10/week @ 2021-01-01 16/week @ 2021-01-08 13/week @ 2021-01-15 15/week @ 2021-01-22 6/week @ 2021-01-29 10/week @ 2021-02-05 47/week @ 2021-02-12

73 downloads per month
Used in 2 crates

AGPL-3.0-or-later

39KB
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

~5MB
~116K SLoC