Fixed not building when default-features = false

This commit is contained in:
Gustav Palmqvist 2022-05-20 07:51:51 +02:00
commit c9931f12a9
5 changed files with 28 additions and 4 deletions

View file

@ -15,8 +15,9 @@ edition = "2018"
gitlab = { repository = "lumi/sasl-rs" }
[features]
default = ["scram"]
default = ["scram", "anonymous"]
scram = ["base64", "getrandom", "sha-1", "sha2", "hmac", "pbkdf2"]
anonymous = ["getrandom"]
[dependencies]
base64 = { version = "0.13", optional = true }