build: add rand 0.8.5 dependency

The goal is to depend on crates packaged by Debian and only require more
if necessary.
This commit is contained in:
Mohammed Amar-Bensaber 2024-12-07 18:00:26 +01:00
parent 0b44a2e50d
commit 46e15af8d7
Signed by: renken
GPG key ID: 1F2BB159B645E575
2 changed files with 64 additions and 0 deletions

62
Cargo.lock generated
View file

@ -2,6 +2,68 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3 version = 3
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "Could not get crate checksum"
[[package]]
name = "getrandom"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "Could not get crate checksum"
dependencies = [
"cfg-if",
"libc",
]
[[package]]
name = "libc"
version = "0.2.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
[[package]] [[package]]
name = "nonoka" name = "nonoka"
version = "0.1.0" version = "0.1.0"
dependencies = [
"rand",
"rand_chacha",
]
[[package]]
name = "ppv-lite86"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "Could not get crate checksum"
[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "Could not get crate checksum"
dependencies = [
"libc",
"rand_chacha",
"rand_core",
]
[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
"rand_core",
]
[[package]]
name = "rand_core"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
dependencies = [
"getrandom",
]

View file

@ -6,3 +6,5 @@ authors = ["Mohammed Amar-Bensaber <renken@shione.net>"]
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
[dependencies] [dependencies]
rand = "0.8.5"
rand_chacha = "0.3.1"