cuprate-hinto-janai/types
hinto-janai d503548716
Implement types/ (#94)
* workspace: add `bytemuck` to workspace

* add `types/`

* workspace: add `cuprate-types` to members

* copy `consensus/` types to `types/`

* remove `hard_fork/`

* extended_block_header: impl `Pod`, fix layout

* update `Request/Response`

* impl types

* fix `Response/Request`

* impl `borsh`

* workspace: add `strum`

* service: add `strum` traits

* remove `paste`, `serde_json`, `thiserror`

* remove `strum`

* VerifiedBlockInformation: remove `hf_vote`

* Update Cargo.toml

Co-authored-by: Boog900 <boog900@tutanota.com>

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-03-27 00:46:32 +00:00
..
src Implement types/ (#94) 2024-03-27 00:46:32 +00:00
Cargo.toml Implement types/ (#94) 2024-03-27 00:46:32 +00:00
README.md Implement types/ (#94) 2024-03-27 00:46:32 +00:00

cuprate-types

Various data types shared by Cuprate.

  1. File Structure

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.

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