Skip to content

Commit 8d3fe72

Browse files
committed
chore(deps): [#979] add new cargo dep: serde_with
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.
1 parent 1fdf3a8 commit 8d3fe72

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ serde_bencode = "0"
6666
serde_bytes = "0"
6767
serde_json = { version = "1", features = ["preserve_order"] }
6868
serde_repr = "0"
69+
serde_with = { version = "3.9.0", features = ["json"] }
6970
thiserror = "1"
7071
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync"] }
7172
torrust-tracker-clock = { version = "3.0.0-alpha.12-develop", path = "packages/clock" }

0 commit comments

Comments
 (0)