From 46dd0ce6ec0b5fc4db2e0e985e40f207170cfd38 Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Thu, 2 May 2024 13:06:29 +0100 Subject: [PATCH 1/2] Don't use PR branch of ndc-sdk-rs --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d3ef7ee8..e40886c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,6 @@ unused_async = "allow" [workspace.dependencies] # ndc-models was using version 0.1.2 but we needed rustls fix ndc-models = { git = "https://github.com/hasura/ndc-spec.git", rev = "c59f824ff95e6a376c34f85816e80164bc1f3894" } -ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "fe945b6616e5b8bbefa537e5044b4ec962416d4b", default-features = false, features = ["rustls"]} +ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "7409334d2ec2ca1d05fb341e69c9f07af520d8e0", default-features = false, features = ["rustls"]} # ndc-test was using version 0.1.2 but we needed rustls fix ndc-test = { git = "https://github.com/hasura/ndc-spec.git", rev = "c59f824ff95e6a376c34f85816e80164bc1f3894", default-features = false, features = ["rustls"] } From 4c09634734cd2a0664ff913790c54f671eec426e Mon Sep 17 00:00:00 2001 From: Daniel Harvey Date: Thu, 2 May 2024 13:08:21 +0100 Subject: [PATCH 2/2] Use current head commit from ndc-sdk-rs --- Cargo.lock | 3 +-- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d8c67c3f..7f9948a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1260,7 +1260,7 @@ dependencies = [ [[package]] name = "ndc-sdk" version = "0.1.0" -source = "git+https://github.com/hasura/ndc-sdk-rs.git?rev=fe945b6616e5b8bbefa537e5044b4ec962416d4b#fe945b6616e5b8bbefa537e5044b4ec962416d4b" +source = "git+https://github.com/hasura/ndc-sdk-rs.git?rev=a273a01efccfc71ef3341cf5f357b2c9ae2d109f#a273a01efccfc71ef3341cf5f357b2c9ae2d109f" dependencies = [ "async-trait", "axum", @@ -1924,7 +1924,6 @@ dependencies = [ "percent-encoding", "pin-project-lite", "rustls 0.21.10", - "rustls-native-certs 0.6.3", "rustls-pemfile 1.0.4", "serde", "serde_json", diff --git a/Cargo.toml b/Cargo.toml index e40886c4..2edb724a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,6 @@ unused_async = "allow" [workspace.dependencies] # ndc-models was using version 0.1.2 but we needed rustls fix ndc-models = { git = "https://github.com/hasura/ndc-spec.git", rev = "c59f824ff95e6a376c34f85816e80164bc1f3894" } -ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "7409334d2ec2ca1d05fb341e69c9f07af520d8e0", default-features = false, features = ["rustls"]} +ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "a273a01efccfc71ef3341cf5f357b2c9ae2d109f", default-features = false, features = ["rustls"]} # ndc-test was using version 0.1.2 but we needed rustls fix ndc-test = { git = "https://github.com/hasura/ndc-spec.git", rev = "c59f824ff95e6a376c34f85816e80164bc1f3894", default-features = false, features = ["rustls"] }