mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Swap sasl crate from sha-1 crate -> sha1 crate
sha-1 has been deprecated in favor of sha1 and has an identical API.
This commit is contained in:
parent
384b366f5f
commit
f4c3238798
1 changed files with 2 additions and 2 deletions
|
@ -16,13 +16,13 @@ gitlab = { repository = "xmpp-rs/xmpp-rs" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["scram", "anonymous"]
|
default = ["scram", "anonymous"]
|
||||||
scram = ["base64", "getrandom", "sha-1", "sha2", "hmac", "pbkdf2"]
|
scram = ["base64", "getrandom", "sha1", "sha2", "hmac", "pbkdf2"]
|
||||||
anonymous = ["getrandom"]
|
anonymous = ["getrandom"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = { version = "0.22", optional = true }
|
base64 = { version = "0.22", optional = true }
|
||||||
getrandom = { version = "0.2", optional = true }
|
getrandom = { version = "0.2", optional = true }
|
||||||
sha-1 = { version = "0.10", optional = true }
|
sha1 = { version = "0.10", optional = true }
|
||||||
sha2 = { version = "0.10", optional = true }
|
sha2 = { version = "0.10", optional = true }
|
||||||
hmac = { version = "0.12", optional = true }
|
hmac = { version = "0.12", optional = true }
|
||||||
pbkdf2 = { version = "0.12", default-features = false, optional = true }
|
pbkdf2 = { version = "0.12", default-features = false, optional = true }
|
||||||
|
|
Loading…
Reference in a new issue