mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 11:39:26 +00:00
71131a4836
Some checks are pending
Audit / audit (push) Waiting to run
CI / fmt (push) Waiting to run
CI / typo (push) Waiting to run
CI / ci (macos-latest, stable, bash) (push) Waiting to run
CI / ci (ubuntu-latest, stable, bash) (push) Waiting to run
CI / ci (windows-latest, stable-x86_64-pc-windows-gnu, msys2 {0}) (push) Waiting to run
Deny / audit (push) Waiting to run
Doc / build (push) Waiting to run
Doc / deploy (push) Blocked by required conditions
* types: remove borsh/serde * blockchain: re-add optional serde * doc.yml: remove `-D warnings` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
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 |