Skip to content

Commit

Permalink
Impl serde traits for Tal.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Dec 13, 2024
1 parent 21abac8 commit e892dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ log = "0.4.7"
openssl = { version = "0.10.23", optional = true }
quick-xml = { version = "0.31.0", optional = true }
ring = { version = "0.17.6", optional = true }
serde = { version = "1.0.103", optional = true, features = [ "derive" ] }
serde = { version = "1.0.103", optional = true, features = [ "derive" , "rc" ] }
serde_json = { version = "1.0.40", optional = true }
tokio = { version = "1.0", optional = true, features = ["io-util", "net", "rt", "sync", "time"] }
uuid = "1.1"
Expand Down
1 change: 1 addition & 0 deletions src/repository/tal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use serde::{Deserialize, Serialize};
//------------ Tal -----------------------------------------------------------

#[derive(Clone, Debug)]
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
pub struct Tal {
uris: Vec<TalUri>,
key_info: PublicKey,
Expand Down

0 comments on commit e892dbb

Please sign in to comment.