mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Merge branch 'all-optional' into 'master'
Make all dependencies for SCRAM optional when it is disabled See merge request lumi/sasl-rs!6
This commit is contained in:
commit
c96bdc847b
1 changed files with 7 additions and 7 deletions
|
@ -16,12 +16,12 @@ gitlab = { repository = "lumi/sasl-rs" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["scram"]
|
default = ["scram"]
|
||||||
scram = []
|
scram = ["base64", "rand_os", "sha-1", "sha2", "hmac", "pbkdf2"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.10"
|
base64 = { version = "0.10", optional = true }
|
||||||
rand_os = "0.1"
|
rand_os = { version = "0.1", optional = true }
|
||||||
sha-1 = "0.8"
|
sha-1 = { version = "0.8", optional = true }
|
||||||
sha2 = "0.8"
|
sha2 = { version = "0.8", optional = true }
|
||||||
hmac = "0.7"
|
hmac = { version = "0.7", optional = true }
|
||||||
pbkdf2 = { version = "0.3", default-features = false }
|
pbkdf2 = { version = "0.3", default-features = false, optional = true }
|
||||||
|
|
Loading…
Reference in a new issue