cuprate/types
hinto-janai fb3d41ccbb
database: final docs + cleanup (#117)
* re-apply 'main' merge + doc patches

* fix redb lints

* update readme

* add `lib.rs, ops, service` doc-test examples

* docs for `config`, `ops`, add doc-tests

* remove merge error

incorrect leftover code from previous merge

* doc top-level types

* docs: error, tables, types

* misc docs, TODO, FIXME, SOMEDAY fixes

* change clippy lints

* tests: add `tables_are_sorted()`

* move `tables_are_sorted()` test to `backend/tests.rs`

* readme formatting

* small fixes

* readme fixes

* docs: `helper/`

* docs: `types/`

* database/README.md fixes

* doc fixes

* types: doc fixes

* fixes

* all review changes
2024-05-05 15:21:28 +01:00
..
src database: final docs + cleanup (#117) 2024-05-05 15:21:28 +01:00
Cargo.toml Implement types/ (#94) 2024-03-27 00:46:32 +00:00
README.md database: final docs + cleanup (#117) 2024-05-05 15:21:28 +01:00

cuprate-types

Various data types shared by Cuprate.


1. File Structure

A quick reference of the structure of the folders & files in cuprate-types.

Note that lib.rs/mod.rs files are purely for re-exporting/visibility/lints, and contain no code. Each sub-directory has a corresponding mod.rs.

1.1 src/

The top-level src/ files.

File Purpose
service.rs Types used in database requests; enum {Request,Response}
types.rs Various general types used by Cuprate