isolate scram behind a compilation feature
This commit is contained in:
parent
4b9f2376af
commit
a8f8744e21
6 changed files with 25 additions and 2 deletions
|
|
@ -13,6 +13,13 @@ license = "LGPL-3.0+"
|
|||
[badges]
|
||||
gitlab = { repository = "lumi/sasl-rs" }
|
||||
|
||||
[features]
|
||||
default = ["scram"]
|
||||
scram = ["openssl"]
|
||||
|
||||
[dependencies]
|
||||
openssl = "0.9.7"
|
||||
base64 = "0.4.0"
|
||||
|
||||
[dependencies.openssl]
|
||||
version = "0.9.7"
|
||||
optional = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue