Skip to content

Commit

Permalink
update deps to avoid openssl dependency in cli plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitRanque committed Sep 25, 2024
1 parent 663db02 commit c966b27
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
9 changes: 4 additions & 5 deletions Cargo.lock

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

6 changes: 2 additions & 4 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@ async-trait = "0.1.78"
glob-match = "0.2.1"
graphql_client = "0.14.0"
graphql-parser = "0.4.0"
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs", tag = "v0.1.5", package = "ndc-sdk", features = [
"rustls",
], default-features = false }
reqwest = { version = "0.12.3", features = [
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.4" }
reqwest = { version = "0.12.7", features = [
"json",
"rustls-tls",
], default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion crates/common/src/capabilities_response.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use ndc_sdk::models;
use ndc_models as models;

pub fn capabilities_response() -> models::CapabilitiesResponse {
models::CapabilitiesResponse {
Expand Down
2 changes: 1 addition & 1 deletion crates/common/src/schema_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use crate::config::{
},
RequestConfig, ResponseConfig,
};
use ndc_sdk::models;
use ndc_models as models;
use std::{collections::BTreeMap, iter};

pub fn schema_response(
Expand Down
4 changes: 1 addition & 3 deletions crates/ndc-graphql-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ common = { path = "../common" }
graphql_client = "0.14.0"
graphql-introspection-query = "0.2.0"
graphql-parser = "0.4.0"
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs", tag = "v0.1.5", package = "ndc-sdk", features = [
"rustls",
], default-features = false }
ndc-models = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.4" }
schemars = "0.8.16"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
Expand Down
2 changes: 1 addition & 1 deletion crates/ndc-graphql-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use common::{
use graphql::{execute_graphql_introspection, schema_from_introspection};
use graphql_parser::schema;
use ndc_graphql_cli::graphql;
use ndc_sdk::models;
use ndc_models as models;
use schemars::schema_for;
use serde::Serialize;
use std::{
Expand Down

0 comments on commit c966b27

Please sign in to comment.