Skip to content

Commit

Permalink
rename main crate as ndc-bigquery
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshi06 committed Jul 8, 2024
1 parent 40ee3e6 commit 1e1e14a
Show file tree
Hide file tree
Showing 83 changed files with 540 additions and 336 deletions.
850 changes: 527 additions & 323 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package.version = "0.1.0"
package.edition = "2021"

members = [
"crates/connectors/ndc-postgres",
"crates/connectors/ndc-bigquery",
"crates/query-engine/sql",
"crates/query-engine/translation",
"crates/query-engine/metadata",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[package]
name = "ndc-postgres"
name = "ndc-bigquery"
version.workspace = true
edition.workspace = true

default-run = "ndc-postgres"
default-run = "ndc-bigquery"

[lib]
name = "ndc_postgres"
path = "src/lib.rs"

[[bin]]
name = "ndc-postgres"
name = "ndc-bigquery"
path = "bin/main.rs"

[dependencies]
ndc-sdk = { git = "https://github.com/hasura/ndc-hub.git", rev = "e16b85a", package = "ndc-sdk" }
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "a273a01efccfc71ef3341cf5f357b2c9ae2d109f", default-features = false, features = ["rustls"]}
query-engine-sql = { path = "../../query-engine/sql" }
query-engine-translation = { path = "../../query-engine/translation" }
query-engine-execution = { path = "../../query-engine/execution" }
Expand All @@ -31,18 +31,18 @@ serde_json = { version = "1.0.107", features = ["raw_value"] }
sqlx = { version = "0.7.1", features = [ "json", "postgres", "runtime-tokio-rustls" ] }
tokio = { version = "1.32.0", features = ["full"] }
tracing = "0.1.37"
thiserror = "1.0"
thiserror = "1.0.59"
yup-oauth2 = "8.3.0"

[dev-dependencies]
ndc-client = { git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.5" }
ndc-test = { git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.5" }
ndc-models = { git = "https://github.com/hasura/ndc-spec.git", rev = "c59f824ff95e6a376c34f85816e80164bc1f3894" }
ndc-test = { git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.2" }
tests-common = { path = "../../tests/tests-common" }

axum = "0.6.19"
axum-test-helper = "0.3.0"
insta = { version = "1.31.0", features = ["json"] }
env_logger = "0.10.0"
hyper = { version = "0.14.27", features = ["tcp"] }
reqwest = "0.11.20"
reqwest = { version = "0.11.27", default-features = false, features = ["rustls-tls"] }
similar-asserts = "1.5.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/query-engine/execution/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version.workspace = true
edition.workspace = true

[dependencies]
ndc-sdk = { git = "https://github.com/hasura/ndc-hub.git", rev = "e16b85a", package = "ndc-sdk" }
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "a273a01efccfc71ef3341cf5f357b2c9ae2d109f", default-features = false, features = ["rustls"]}

query-engine-sql = { path = "../sql" }

Expand Down
2 changes: 1 addition & 1 deletion crates/query-engine/translation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version.workspace = true
edition.workspace = true

[dependencies]
ndc-sdk = { git = "https://github.com/hasura/ndc-hub.git", rev = "abfc255", package = "ndc-sdk" }
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "a273a01efccfc71ef3341cf5f357b2c9ae2d109f", default-features = false, features = ["rustls"]}

query-engine-metadata = { path = "../metadata" }
query-engine-sql = { path = "../sql" }
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/tests-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "tests_common"
path = "src/lib.rs"

[dependencies]
ndc-sdk = { git = "https://github.com/hasura/ndc-hub.git", rev = "e16b85a", package = "ndc-sdk" }
ndc-sdk = { git = "https://github.com/hasura/ndc-sdk-rs.git", rev = "a273a01efccfc71ef3341cf5f357b2c9ae2d109f", default-features = false, features = ["rustls"]}

serde = "1.0.188"
serde_derive = "^1.0"
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.72.1"
channel = "1.77.2"
profile = "default" # see https://rust-lang.github.io/rustup/concepts/profiles.html
components = ["rust-analyzer", "rust-src"] # see https://rust-lang.github.io/rustup/concepts/components.html

0 comments on commit 1e1e14a

Please sign in to comment.