#wikidot #revision #database #nuscp

yanked deepwell-core

Database management and migrations service

0.0.8 Feb 12, 2020
0.0.6 Jan 26, 2020

#4 in #scp-foundation

39 downloads per month
Used in deepwell-rpc


785 lines


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.


~141K SLoC