2024-03-27 00:46:32 +00:00
|
|
|
# `cuprate-types`
|
2024-07-16 21:47:50 +00:00
|
|
|
Shared data types within Cuprate.
|
2024-03-27 00:46:32 +00:00
|
|
|
|
2024-07-16 21:47:50 +00:00
|
|
|
This crate is a kitchen-sink for data types that are shared across Cuprate.
|
2024-03-27 00:46:32 +00:00
|
|
|
|
2024-07-16 21:47:50 +00:00
|
|
|
# Features flags
|
|
|
|
| Feature flag | Does what |
|
|
|
|
|--------------|-----------|
|
|
|
|
| `blockchain` | Enables the `blockchain` module, containing the blockchain database request/response types
|
|
|
|
| `serde` | Enables `serde` on types where applicable
|
2024-07-25 15:46:41 +00:00
|
|
|
| `epee` | Enables `cuprate-epee-encoding` on types where applicable
|
2024-08-08 23:56:13 +00:00
|
|
|
| `proptest` | Enables `proptest::arbitrary::Arbitrary` on some types
|
2024-10-05 00:47:44 +00:00
|
|
|
| `json` | Enables the `json` module, containing JSON representations of common Monero types
|
|
|
|
| `hex` | Enables the `hex` module, containing the `HexBytes` type
|