Cargo fmt

Signed-off-by: constantoine <cleo.rebert-ext@treezor.com>
This commit is contained in:
constantoine 2022-10-10 11:12:44 +02:00
parent 60514fde9a
commit 0131d7e077
No known key found for this signature in database
GPG Key ID: 0FA097951CF65367
2 changed files with 3 additions and 2 deletions

View File

@ -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"]

View File

@ -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()
)
}
}