Skip to content

Commit e07f897

Browse files
committed
docs: document new features
1 parent e021fac commit e07f897

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ You can customize the crate to your needs by enabling feature(s) listed below:
3535
- Enable `gen_all_protocols` to enable all protocols, stable and staging.
3636
- Enable `rkyv` feature to derive `rkyv::{Archive, Deserialize, Serialize}`
3737
for all Harmony API types (except the `batch` service).
38+
- Enable `rkyv_validation` to derive `bytecheck::CheckBytes` for all Harmony
39+
API types and enable `rkyv/validation`.
40+
- Enable `serde_derive` feature to derive `serde::{Deserialize, Serialize}`
41+
for all Harmony API types (except the `batch` service).
42+
- Enable `valuable` feature to derive `valuable::Valuable` for all Harmony
43+
API types (except the `batch` service).
3844
- customizing hRPC codegen:
3945
- Enable the `gen_client` feature to generate client service code for
4046
enabled protocols.

crates/sdk/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ You can customize the crate to your needs by enabling feature(s) listed below:
3737
- Enable `gen_all_protocols` to enable all protocols, stable and staging.
3838
- Enable `rkyv` feature to derive `rkyv::{Archive, Deserialize, Serialize}`
3939
for all Harmony API types (except the `batch` service).
40+
- Enable `rkyv_validation` to derive `bytecheck::CheckBytes` for all Harmony
41+
API types and enable `rkyv/validation`.
42+
- Enable `serde_derive` feature to derive `serde::{Deserialize, Serialize}`
43+
for all Harmony API types (except the `batch` service).
44+
- Enable `valuable` feature to derive `valuable::Valuable` for all Harmony
45+
API types (except the `batch` service).
4046
- customizing hRPC codegen:
4147
- Enable the `gen_client` feature to generate client service code for
4248
enabled protocols.

0 commit comments

Comments
 (0)