Browse Source

Check fields when deserializing user reports

Vecna 4 months ago
parent
commit
1e44e16bb1
2 changed files with 12 additions and 2 deletions
  1. 2 0
      Cargo.toml
  2. 10 2
      src/lib.rs

+ 2 - 0
Cargo.toml

@@ -10,8 +10,10 @@ array-bytes = "6.2.0"
 bincode = "1"
 curve25519-dalek = { version = "4", default-features = false, features = ["serde", "rand_core", "digest"] }
 ed25519-dalek = { version = "2", features = ["serde", "rand_core"] }
+lazy_static = "1"
 lox-library = { git = "https://gitlab.torproject.org/vecna/lox.git", version = "0.1.0" }
 serde = "1.0.195"
+serde_json = "1.0"
 serde_with = {version = "3.4.0", features = ["json"]}
 sha1 = "0.10"
 sha3 = "0.10"

File diff suppressed because it is too large
+ 10 - 2
src/lib.rs


Some files were not shown because too many files changed in this diff