Skip to content

Commit

Permalink
Remove dependency on assert_matches (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton authored Dec 12, 2023
1 parent d457185 commit afb1f78
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/bitwarden/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ aes = ">=0.8.2, <0.9"
argon2 = { version = ">=0.5.0, <0.6", features = [
"alloc",
], default-features = false }
assert_matches = ">=1.5.0, <2.0"
base64 = ">=0.21.2, <0.22"
bitwarden-api-api = { path = "../bitwarden-api-api", version = "=0.2.2" }
bitwarden-api-identity = { path = "../bitwarden-api-identity", version = "=0.2.2" }
Expand Down
4 changes: 0 additions & 4 deletions crates/bitwarden/src/client/client_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,14 @@ use serde::{Deserialize, Serialize};
///
/// ```
/// # use bitwarden::client::client_settings::{ClientSettings, DeviceType};
/// # use assert_matches::assert_matches;
/// let settings = ClientSettings {
/// identity_url: "https://identity.bitwarden.com".to_string(),
/// api_url: "https://api.bitwarden.com".to_string(),
/// user_agent: "Bitwarden Rust-SDK".to_string(),
/// device_type: DeviceType::SDK,
/// };
/// let default = ClientSettings::default();
/// assert_matches!(settings, default);
/// ```
///
/// Targets `localhost:8080` for debug builds.
#[derive(Serialize, Deserialize, Debug, JsonSchema)]
#[serde(default, rename_all = "camelCase", deny_unknown_fields)]
#[cfg_attr(feature = "mobile", derive(uniffi::Record))]
Expand Down

0 comments on commit afb1f78

Please sign in to comment.