Skip to content

Commit debccd6

Browse files
committed
Fix build conficts
1 parent a4882d7 commit debccd6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

crates/catalog/rest/src/catalog.rs

+8-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ use itertools::Itertools;
3131
use reqwest::header::{
3232
HeaderMap, HeaderName, HeaderValue, {self},
3333
};
34-
use serde_derive::Deserialize;
3534
use reqwest::{Client, Method, StatusCode, Url};
35+
use serde_derive::Deserialize;
3636
use tokio::sync::OnceCell;
3737
use typed_builder::TypedBuilder;
3838

@@ -50,7 +50,7 @@ const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION");
5050
const PATH_V1: &str = "v1";
5151

5252
/// Rest catalog configuration.
53-
#[derive(Clone, Debug, TypedBuilder, Deserialize, PartialEq)]
53+
#[derive(Clone, Debug, TypedBuilder, Deserialize)]
5454
pub struct RestCatalogConfig {
5555
uri: String,
5656

@@ -65,6 +65,12 @@ pub struct RestCatalogConfig {
6565
client: Option<Client>,
6666
}
6767

68+
impl PartialEq for RestCatalogConfig {
69+
fn eq(&self, other: &Self) -> bool {
70+
self.uri == other.uri && self.warehouse == other.warehouse && self.props == other.props
71+
}
72+
}
73+
6874
impl RestCatalogConfig {
6975
fn url_prefixed(&self, parts: &[&str]) -> String {
7076
[&self.uri, PATH_V1]

0 commit comments

Comments
 (0)