File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
crates/bitwarden-exporters/src/cxf Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ members = ["bitwarden_license/*", "crates/*"]
7
7
# Update using `cargo set-version -p bitwarden-core <new-version>`
8
8
version = " 1.0.0"
9
9
authors = [" Bitwarden Inc" ]
10
- edition = " 2021 "
10
+ edition = " 2024 "
11
11
# Important: Changing rust-version should be considered a breaking change
12
- rust-version = " 1.82 "
12
+ rust-version = " 1.85 "
13
13
homepage = " https://bitwarden.com"
14
14
repository = " https://github.com/bitwarden/sdk-internal"
15
15
license-file = " LICENSE"
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ fn group_credentials_by_type(credentials: Vec<Credential>) -> GroupedCredentials
224
224
macro_rules! extract_credential {
225
225
( $field: ident, $variant: path, $type: ty) => {
226
226
filter_credentials( & credentials, |c| match c {
227
- $variant( ref inner) => Some ( inner. as_ref( ) ) ,
227
+ & $variant( ref inner) => Some ( inner. as_ref( ) ) ,
228
228
_ => None ,
229
229
} )
230
230
} ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ fn convert_otp_algorithm(algorithm: &OTPHashAlgorithm) -> TotpAlgorithm {
26
26
OTPHashAlgorithm :: Sha1 => TotpAlgorithm :: Sha1 ,
27
27
OTPHashAlgorithm :: Sha256 => TotpAlgorithm :: Sha256 ,
28
28
OTPHashAlgorithm :: Sha512 => TotpAlgorithm :: Sha512 ,
29
- OTPHashAlgorithm :: Unknown ( ref algo) if algo == "steam" => TotpAlgorithm :: Steam ,
29
+ OTPHashAlgorithm :: Unknown ( algo) if algo == "steam" => TotpAlgorithm :: Steam ,
30
30
OTPHashAlgorithm :: Unknown ( _) | _ => TotpAlgorithm :: Sha1 , /* Default to SHA1 for unknown
31
31
* algorithms */
32
32
}
You can’t perform that action at this time.
0 commit comments