Skip to content

Commit

Permalink
chore: add dependencies: hex, uuid
Browse files Browse the repository at this point in the history
We need them to generate random torrents. We use an UUID for the torrent
name and contents and we nned the hex package to generate the torrent
file "pieces" field.
  • Loading branch information
josecelano committed Jul 31, 2023
1 parent 4415144 commit dd1dc0c
Show file tree
Hide file tree
Showing 2 changed files with 3 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.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ axum = { version = "0.6.18", features = ["multipart"] }
hyper = "0.14.26"
tower-http = { version = "0.4.0", features = ["cors"] }
email_address = "0.2.4"
hex = "0.4.3"
uuid = { version = "1.3", features = ["v4"] }

[dev-dependencies]
rand = "0.8"
Expand Down

0 comments on commit dd1dc0c

Please sign in to comment.