Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
clippy + get it to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashad Alston authored and Rashad Alston committed Sep 19, 2023
1 parent d749813 commit 76243be
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 65 deletions.
59 changes: 5 additions & 54 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion packages/fuel-indexer-graphql-dyn/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub mod spec;
pub mod store;
pub mod testing;

pub(self) mod self_prelude {
pub mod self_prelude {
pub use anyhow::anyhow;
pub use async_trait::async_trait;
pub use extension_trait::extension_trait;
Expand Down
2 changes: 1 addition & 1 deletion packages/fuel-indexer-graphql-dyn/src/schema/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub mod schema_builder;
pub mod schema_type;
pub mod schema_type_builder;

pub(self) mod self_prelude {
pub mod self_prelude {
pub use super::super::self_prelude::*;
pub use crate::spec::*;
pub use crate::store;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Default for DynSchemaBuilder {
impl DynSchemaBuilder {
pub fn new(schema_type: &DynSchemaType, store: Arc<Mutex<dyn store::Store>>) -> Self {
let loader = DynLoader::new(store);
let resolver = DynResolver::new(&schema_type, Arc::new(Mutex::new(loader)));
let resolver = DynResolver::new(schema_type, Arc::new(Mutex::new(loader)));
let DynSchemaBuilder {
mut schema,
mut query,
Expand Down
2 changes: 1 addition & 1 deletion packages/fuel-indexer-graphql-dyn/src/spec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub mod node;
pub mod paging;
pub mod query;

pub(self) mod self_prelude {
pub mod self_prelude {
pub use super::super::self_prelude::*;
pub use async_graphql::dynamic::*;
pub use std::{hash::Hash, str::FromStr};
Expand Down
2 changes: 1 addition & 1 deletion packages/fuel-indexer-graphql-dyn/src/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub mod store;
pub mod store_type;
pub mod store_type_builder;

pub(self) mod self_prelude {
pub mod self_prelude {
pub use super::super::self_prelude::*;
pub use indexmap::IndexMap;
pub use serde::{Deserialize, Serialize};
Expand Down
2 changes: 1 addition & 1 deletion packages/fuel-indexer-graphql-dyn/src/testing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub mod schema_type;
pub mod store;
pub mod store_type;

pub(self) mod self_prelude {
pub mod self_prelude {
pub use super::super::self_prelude::*;
pub use indexmap::IndexMap;
pub use lazy_static::lazy_static;
Expand Down
6 changes: 3 additions & 3 deletions packages/fuel-indexer-graphql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ rust-version = { workspace = true }
description = "Fuel Indexer GraphQL"

[dependencies]
async-graphql = { version = "5.0", features = ["dynamic-schema"] }
async-graphql-parser = "5.0"
async-graphql-value = "5.0"
async-graphql = { workspace = true, features = ["dynamic-schema"] }
async-graphql-parser = { workspace = true }
async-graphql-value = { workspace = true }
fuel-indexer-database = { workspace = true }
fuel-indexer-database-types = { workspace = true }
fuel-indexer-schema = { workspace = true, features = ["db-models"] }
Expand Down
4 changes: 2 additions & 2 deletions packages/fuel-indexer-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ description = "Fuel Indexer Macros"
proc-macro = true

[dependencies]
async-graphql-parser = "5.0"
async-graphql-value = "5.0"
async-graphql-parser = { workspace = true }
async-graphql-value = { workspace = true }
fuel-abi-types = "0.3"
fuel-indexer-database-types = { workspace = true }
fuel-indexer-lib = { workspace = true, default-features = true }
Expand Down

0 comments on commit 76243be

Please sign in to comment.