Cargo fmt
Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
This commit is contained in:
parent
60514fde9a
commit
0131d7e077
|
@ -15,7 +15,7 @@ categories = ["authentication", "web-programming"]
|
|||
features = [ "qr", "serde_support", "otpauth" ]
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = ["qr", "gen_secret"]
|
||||
otpauth = ["url", "urlencoding"]
|
||||
qr = ["qrcodegen", "image", "base64", "otpauth"]
|
||||
serde_support = ["serde"]
|
||||
|
|
|
@ -357,7 +357,8 @@ mod tests {
|
|||
let error = Rfc6238Error::SecretTooSmall(120);
|
||||
assert_eq!(
|
||||
error.to_string(),
|
||||
"The length of the shared secret MUST be at least 128 bits. 120 bits is not enough".to_string()
|
||||
"The length of the shared secret MUST be at least 128 bits. 120 bits is not enough"
|
||||
.to_string()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue