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

Commit

Permalink
move anyhow dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lostman committed Oct 25, 2023
1 parent d506f90 commit 7fcea42
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 11 deletions.
6 changes: 1 addition & 5 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion examples/fuel-explorer/fuel-explorer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ rust-version = "1.73.0"
crate-type = ['cdylib']

[dependencies]
anyhow = "1"
fuel-indexer-utils = { workspace = true }
fuels = { workspace = true }
serde = { workspace = true }
1 change: 0 additions & 1 deletion examples/greetings/greetings-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ rust-version = "1.72.1"
crate-type = ['cdylib']

[dependencies]
anyhow = "1"
fuel-indexer-utils = { workspace = true }
fuels = { workspace = true }
serde = { workspace = true }
1 change: 0 additions & 1 deletion examples/hello-world/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ rust-version = "1.73.0"
crate-type = ['cdylib']

[dependencies]
anyhow = "1"
fuel-indexer-utils = { workspace = true }
fuels = { workspace = true }
serde = { workspace = true }
2 changes: 1 addition & 1 deletion packages/fuel-indexer-macros/src/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fn panic_hook() -> proc_macro2::TokenStream {
/// indexer module, not within the scope of the entire lib module.
fn wasm_prelude() -> proc_macro2::TokenStream {
quote! {
use anyhow::Context;
use fuel_indexer_utils::plugin::anyhow::{self, Context};
use alloc::{format, vec, vec::Vec};
use std::str::FromStr;

Expand Down
1 change: 1 addition & 0 deletions packages/fuel-indexer-plugin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ description = "Fuel Indexer Plugin"
crate-type = ['rlib']

[dependencies]
anyhow = "1"
bincode = { workspace = true }
fuel-indexer-lib = { workspace = true }
fuel-indexer-schema = { workspace = true, default-features = false }
Expand Down
1 change: 1 addition & 0 deletions packages/fuel-indexer-plugin/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub mod utils {
pub use fuel_indexer_lib::utils::sha256_digest;
}

pub use anyhow;
pub use bincode;
pub use fuel_indexer_lib::{
graphql::MAX_FOREIGN_KEY_LIST_FIELDS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ publish = false
crate-type = ['cdylib']

[dependencies]
anyhow = "1"
fuel-indexer-utils = { workspace = true }
fuels = { workspace = true }
getrandom = { version = "0.2", features = ["js"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ publish = false
crate-type = ['cdylib']

[dependencies]
anyhow = "1"
fuel-indexer-utils = { workspace = true }
fuel-tx = { workspace = true }
fuels = { workspace = true }
Expand Down

0 comments on commit 7fcea42

Please sign in to comment.