Skip to content

Commit

Permalink
chore(deps): [#979] add new cargo dep: serde_with
Browse files Browse the repository at this point in the history
We will add a new enpoint to add tracker keys where some JSON values can
be null:

```console
curl -X POST http://localhost:1212/api/v1/keys?token=MyAccessToken \
     -H "Content-Type: application/json" \
     -d '{
     	   "key": null,
           "seconds_valid": null
         }'
```

We need to set those values to `None` in the Rsut strucut.
  • Loading branch information
josecelano committed Jul 31, 2024
1 parent 1fdf3a8 commit 8d3fe72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ serde_bencode = "0"
serde_bytes = "0"
serde_json = { version = "1", features = ["preserve_order"] }
serde_repr = "0"
serde_with = { version = "3.9.0", features = ["json"] }
thiserror = "1"
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
torrust-tracker-clock = { version = "3.0.0-alpha.12-develop", path = "packages/clock" }
Expand Down

0 comments on commit 8d3fe72

Please sign in to comment.