Browse Source

Updated rust stable to the latest version

Changed rust version from 1.56 to 1.57.
Also allowed dead_code for a new found item with the new rust version.
pull/2143/head
BlackDex 4 years ago
parent
commit
ff08bcfa18
No known key found for this signature in database GPG Key ID: 58C80A2AA6C765E1
  1. 2
      Cargo.toml
  2. 1
      src/api/identity.rs

2
Cargo.toml

@ -3,7 +3,7 @@ name = "vaultwarden"
version = "1.0.0"
authors = ["Daniel García <dani-garcia@users.noreply.github.com>"]
edition = "2021"
rust-version = "1.56"
rust-version = "1.57"
resolver = "2"
repository = "https://github.com/dani-garcia/vaultwarden"

1
src/api/identity.rs

@ -409,6 +409,7 @@ struct ConnectData {
#[field(name = uncased("device_type"))]
#[field(name = uncased("devicetype"))]
device_type: Option<String>,
#[allow(dead_code)]
#[field(name = uncased("device_push_token"))]
#[field(name = uncased("devicepushtoken"))]
device_push_token: Option<String>, // Unused; mobile device push not yet supported.

Loading…
Cancel
Save