Switch from the deprecated rand-os crate to getrandom.
This commit is contained in:
parent
7d78455981
commit
21e9c8e660
3 changed files with 5 additions and 9 deletions
|
|
@ -16,11 +16,11 @@ gitlab = { repository = "lumi/sasl-rs" }
|
|||
|
||||
[features]
|
||||
default = ["scram"]
|
||||
scram = ["base64", "rand_os", "sha-1", "sha2", "hmac", "pbkdf2"]
|
||||
scram = ["base64", "getrandom", "sha-1", "sha2", "hmac", "pbkdf2"]
|
||||
|
||||
[dependencies]
|
||||
base64 = { version = "0.10", optional = true }
|
||||
rand_os = { version = "0.1", optional = true }
|
||||
getrandom = { version = "0.1", optional = true }
|
||||
sha-1 = { version = "0.8", optional = true }
|
||||
sha2 = { version = "0.8", optional = true }
|
||||
hmac = { version = "0.7", optional = true }
|
||||
|
|
|
|||
Loading…
Reference in a new issue