readme: fixed bytes section
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled

This commit is contained in:
hinto.janai 2024-07-11 17:06:42 -04:00
parent 66bb3fc1db
commit 3b81df9129
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -64,6 +64,20 @@ These mixed types are:
TODO: we need to figure out a type that (de)serializes correctly, `String` errors with `serde_json` TODO: we need to figure out a type that (de)serializes correctly, `String` errors with `serde_json`
# Fixed byte containers
TODO
<!--
Some fields within requests/responses are containers, but fixed in size.
For example, [`crate::json::GetBlockTemplateResponse::prev_hash`] is always a 32-byte hash.
In these cases, stack allocated types like `cuprate_fixed_bytes::StrArray`
will be used instead of a more typical [`String`] for optimization reasons.
-->
# Feature flags # Feature flags
List of feature flags for `cuprate-rpc-types`. List of feature flags for `cuprate-rpc-types`.