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

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lostman committed May 10, 2023
1 parent 7881ea7 commit f10df37
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ members = [
"packages/fuel-indexer-tests/components/web-api",
"packages/fuel-indexer-types",
"plugins/forc-index",
"plugins/forc-postgres",
"plugins/forc-index-tests",
"plugins/forc-postgres",
]
default-members = [
"packages/fuel-indexer",
Expand Down
2 changes: 1 addition & 1 deletion packages/fuel-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ async-trait = "0.1"
bincode = "1.3.3"
chrono = { version = "0.4", features = ["serde"] }
clap = { features = ["cargo", "derive", "env"], workspace = true }
forc-postgres = { workspace = true }
fuel-core = { version = "0.17", optional = true }
fuel-core-client = "0.17"
fuel-indexer-api-server = { workspace = true, optional = true }
fuel-indexer-database = { workspace = true }
fuel-indexer-lib = { workspace = true }
fuel-indexer-schema = { workspace = true, features = ["db-models"] }
fuel-indexer-types = { workspace = true }
forc-postgres = { workspace = true }
futures = "0.3"
sqlx = { version = "0.6", features = ["bigdecimal"] }
thiserror = { workspace = true }
Expand Down
10 changes: 5 additions & 5 deletions plugins/forc-index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ description = "Fuel Indexer forc plugin"

actix-web = { version = "4", default-features = false, features = ["macros"] }
anyhow = "1"
clap = { features = ["derive", "env"] , workspace = true }
clap = { features = ["derive", "env"], workspace = true }
forc-postgres = { workspace = true }
forc-tracing = { version = "0.31", default-features = false }
forc-util = { version = "0.35.0" }
fuel-indexer-lib = { workspace = true }
fuel-tx = { features = ["builder"] , workspace = true }
fuels = { default-features = false , workspace = true }
fuel-tx = { features = ["builder"], workspace = true }
fuels = { default-features = false, workspace = true }
hex = "0.4.3"
hyper-rustls = { version = "0.23", features = ["http2"] }
indicatif = "0.17"
Expand All @@ -29,9 +29,9 @@ reqwest = { version = "0.11", default-features = false, features = ["json", "rus
serde = { workspace = true }
serde_json = "1.0.73"
serde_yaml = "0.8"
tokio = { features = ["macros", "rt-multi-thread", "process"] , workspace = true }
toml = "0.5"
tempfile = "3.4.0"
tokio = { features = ["macros", "rt-multi-thread", "process"], workspace = true }
toml = "0.5"
tracing = { workspace = true }
walkdir = "2"

Expand Down
4 changes: 3 additions & 1 deletion plugins/forc-index/src/ops/forc_index_start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ pub async fn init(command: StartCommand) -> anyhow::Result<()> {
"postgres" => {
if embedded_database {
if postgres_host.is_some() {
panic!("Cannot specify postgres host when using embedded database.");
panic!(
"Cannot specify postgres host when using embedded database."
);
}
cmd.arg("--embedded-database");
}
Expand Down
6 changes: 3 additions & 3 deletions plugins/forc-postgres/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ path = "src/lib.rs"

[dependencies]
anyhow = "1"
clap = { features = ["derive", "env"] , workspace = true }
clap = { features = ["derive", "env"], workspace = true }
forc-tracing = { version = "0.31", default-features = false }
fuel-indexer-lib = { workspace = true }
home = "0.5"
indicatif = "0.17"
pg-embed = { version = "0.7" }
serde = { features = ["derive"] , workspace = true }
serde = { features = ["derive"], workspace = true }
serde_json = { version = "1.0" }
tokio = { features = ["macros", "rt-multi-thread", "process"] , workspace = true }
tokio = { features = ["macros", "rt-multi-thread", "process"], workspace = true }
tracing = { workspace = true }

0 comments on commit f10df37

Please sign in to comment.