Skip to content

Commit 41ee512

Browse files
committed
Fix serde docs
1 parent 90a013c commit 41ee512

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/serde.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
//!
33
//! Restate sends data over the network for storing state, journaling actions, awakeables, etc.
44
//!
5-
//! Therefore, all data structures need to have serializers and deserializers.
6-
//!
7-
//! You can use [Rust Serde](https://serde.rs/) for this.
8-
//! Either [use derive](https://serde.rs/derive.html) or implement the [`Serialize` and `Deserialize` traits](https://serde.rs/custom-serialization.html).
5+
//! Therefore, the types of the values that are stored, need to either:
6+
//! - be a primitive type
7+
//! - use a wrapper type [`Json`] for using [`serde-json`](https://serde.rs/)
8+
//! - have the [`Serialize`] and [`Deserialize`] trait implemented
99
//!
1010
1111
use bytes::Bytes;

0 commit comments

Comments
 (0)