diff --git a/Cargo.toml b/Cargo.toml index 245d96f5..a934e619 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "vaultwarden" version = "1.0.0" authors = ["Daniel GarcĂ­a "] edition = "2021" -rust-version = "1.56" +rust-version = "1.57" resolver = "2" repository = "https://github.com/dani-garcia/vaultwarden" diff --git a/src/api/identity.rs b/src/api/identity.rs index 62a276b2..bc4508a5 100644 --- a/src/api/identity.rs +++ b/src/api/identity.rs @@ -409,6 +409,7 @@ struct ConnectData { #[field(name = uncased("device_type"))] #[field(name = uncased("devicetype"))] device_type: Option, + #[allow(dead_code)] #[field(name = uncased("device_push_token"))] #[field(name = uncased("devicepushtoken"))] device_push_token: Option, // Unused; mobile device push not yet supported.