Skip to content

Commit

Permalink
chore: more api-keys deps boilerplate (#3467)
Browse files Browse the repository at this point in the history
* chore: buck build for reqwest and graphql client

* chore: add updated rings fixup from buck2 upstream

Source: buck2/.../shim/third-party/rust/fixups/ring/fixups.toml

* chore: add ring/include to fixups

---------

Co-authored-by: Sandipan Dey <[email protected]>
Co-authored-by: vindard <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2023
1 parent 9fec52a commit 1bc677a
Show file tree
Hide file tree
Showing 21 changed files with 2,968 additions and 31 deletions.
416 changes: 401 additions & 15 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ async-graphql = { version = "6.0.9", default-features = false, features = ["play
async-graphql-axum = "6.0.9"
axum = "0.6.20"
tokio = { version = "1.33.0", features = ["full"] }
graphql_client = {version = "0.13.0", features = ["reqwest-rustls"]}
reqwest = { version = "=0.11.20", default-features = false, features = ["json", "rustls-tls"] }
2 changes: 2 additions & 0 deletions core/api-keys/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ rust_binary(
"//third-party/rust:async-graphql",
"//third-party/rust:async-graphql-axum",
"//third-party/rust:axum",
"//third-party/rust:reqwest",
"//third-party/rust:graphql_client",
],
srcs = glob(["src/**/*.rs"]),
crate_root = "src/main.rs",
Expand Down
2 changes: 2 additions & 0 deletions core/api-keys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ async-graphql = { workspace = true }
async-graphql-axum = { workspace = true }
axum = { workspace = true }
tokio = { workspace = true }
graphql_client = { workspace = true }
reqwest = { workspace = true }
7 changes: 7 additions & 0 deletions core/api-keys/src/admin_client/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pub struct AdminClient {}

impl AdminClient {
pub fn new() -> Result<Self, String> {
unimplemented!()
}
}
3 changes: 2 additions & 1 deletion core/api-keys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// pub mod graphql;
pub mod admin_client;
pub mod graphql;
Loading

0 comments on commit 1bc677a

Please sign in to comment.