Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ tokio-test = { version = "0.4" }
tonic = {version = "0.12.0", features = ["tls", "tls-roots"]} # Use system trust roots.
tracing-subscriber = "0.3"
sqlite = "0.33"

[features]
default = ["serde_deprecated"]
serde_deprecated = [] # enables `serde` for composite data structures; see `README.md` for more information
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,7 @@ cargo run

Updating these files should only be done when the node's API, determined by the
schemas, changes and we need to support the new API in the SDK.

The flag `serde_deprecated` guards `serde::Serialize` and `serde::Deserialize`
implementations for composite data structures where these implementations will
eventually be deprecated. Enable the flag to use them.