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

Commit

Permalink
v0.1.1 (#322)
Browse files Browse the repository at this point in the history
* Set SQLX_OFFLINE globally on CI

* Use short version

Co-authored-by: Rashad Alston <rashad@Rashads-MacBook-Pro.local>
  • Loading branch information
ra0x3 and Rashad Alston authored Nov 4, 2022
1 parent cd2aaa2 commit 522651e
Show file tree
Hide file tree
Showing 19 changed files with 75 additions and 74 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
REGISTRY: ghcr.io
SQLX_OFFLINE: true

jobs:
cancel-previous-runs:
Expand Down Expand Up @@ -251,7 +252,7 @@ jobs:

- name: Cargo Test Workspace
uses: actions-rs/cargo@v1
- run: RUSTFLAGS='-D warnings' SQLX_OFFLINE=1 cargo test --locked --workspace --all-features --all-targets
- run: cargo test --locked --workspace --all-features --all-targets
- run: bash scripts/utils/kill_test_components.bash

publish-fuel-indexer-binaries:
Expand Down
22 changes: 11 additions & 11 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions docs/src/quickstart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ publish = false
crate-type = ['cdylib']

[dependencies]
fuel-indexer-macros = { version = "0.1.0", default-features = false }
fuel-indexer-macros = { version = "0.1", default-features = false }
fuel-indexer-plugin = "0.1"
fuel-indexer-schema = { version = "0.1.0", default-features = false }
fuel-indexer-schema = { version = "0.1", default-features = false }
fuel-tx = "0.18"
fuels-core = "0.26"
fuels-types = "0.26"
Expand Down
6 changes: 3 additions & 3 deletions examples/block-explorer/explorer-index/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ publish = false
crate-type = ['cdylib']

[dependencies]
fuel-indexer-macros = { version = "0.1.0", path = "../../../fuel-indexer-macros", default-features = false }
fuel-indexer-plugin = { version = "0.1.0", path = "../../../fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.1.0", path = "../../../fuel-indexer-schema", default-features = false }
fuel-indexer-macros = { version = "0.1", path = "../../../fuel-indexer-macros", default-features = false }
fuel-indexer-plugin = { version = "0.1", path = "../../../fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.1", path = "../../../fuel-indexer-schema", default-features = false }
fuel-tx = "0.18"
fuels-core = "0.26"
fuels-types = "0.26"
Expand Down
6 changes: 3 additions & 3 deletions examples/simple-wasm/simple-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ publish = false
crate-type = ['cdylib']

[dependencies]
fuel-indexer-macros = { version = "0.1.0", path = "../../../fuel-indexer-macros", default-features = false }
fuel-indexer-plugin = { version = "0.1.0", path = "../../../fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.1.0", path = "../../../fuel-indexer-schema", default-features = false }
fuel-indexer-macros = { version = "0.1", path = "../../../fuel-indexer-macros", default-features = false }
fuel-indexer-plugin = { version = "0.1", path = "../../../fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.1", path = "../../../fuel-indexer-schema", default-features = false }
fuel-tx = "0.18"
fuels-core = "0.26"
fuels-types = "0.26"
Expand Down
10 changes: 5 additions & 5 deletions fuel-indexer-api-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuel-indexer-api-server"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
Expand All @@ -10,10 +10,10 @@ description = "Fuel Indexer API Server"
anyhow = "1.0"
async-std = "1"
axum = { version = "0.4", features = ["multipart"] }
fuel-indexer-database = { version = "0.1.0", path = "../fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.1.0", path = "../fuel-indexer-database/database-types" }
fuel-indexer-lib = { version = "0.1.0", path = "../fuel-indexer-lib" }
fuel-indexer-schema = { version = "0.1.0", path = "../fuel-indexer-schema", features = ["db-models"] }
fuel-indexer-database = { version = "0.1", path = "../fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.1", path = "../fuel-indexer-database/database-types" }
fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib" }
fuel-indexer-schema = { version = "0.1", path = "../fuel-indexer-schema", features = ["db-models"] }
http = "0.2"
hyper = { version = "0.14", features = ["client", "http2", "http1", "runtime" ]}
hyper-tls = "0.5"
Expand Down
10 changes: 5 additions & 5 deletions fuel-indexer-database/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
name = "fuel-indexer-database"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
description = "Fuel Indexer Database"

[dependencies]
fuel-indexer-database-types = { version = "0.1.0", path = "./database-types" }
fuel-indexer-lib = { version = "0.1.0", path = "../fuel-indexer-lib" }
fuel-indexer-postgres = { version = "0.1.0", path = "./postgres" }
fuel-indexer-sqlite = { version = "0.1.0", path = "./sqlite" }
fuel-indexer-database-types = { version = "0.1", path = "./database-types" }
fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib" }
fuel-indexer-postgres = { version = "0.1", path = "./postgres" }
fuel-indexer-sqlite = { version = "0.1", path = "./sqlite" }
sqlx = { version = "0.6" }
thiserror = { version = "1.0" }
tracing = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion fuel-indexer-database/database-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuel-indexer-database-types"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
Expand Down
6 changes: 3 additions & 3 deletions fuel-indexer-database/postgres/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "fuel-indexer-postgres"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
description = "Fuel Indexer Postgres"

[dependencies]
fuel-indexer-database-types = { version = "0.1.0", path = "../database-types" }
fuel-indexer-lib = { version = "0.1.0", path = "../../fuel-indexer-lib" }
fuel-indexer-database-types = { version = "0.1", path = "../database-types" }
fuel-indexer-lib = { version = "0.1", path = "../../fuel-indexer-lib" }
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "postgres", "offline"] }
tracing = "0.1"
6 changes: 3 additions & 3 deletions fuel-indexer-database/sqlite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "fuel-indexer-sqlite"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
description = "Fuel Indexer Sqlite"

[dependencies]
fuel-indexer-database-types = { version = "0.1.0", path = "../database-types" }
fuel-indexer-lib = { version = "0.1.0", path = "../../fuel-indexer-lib" }
fuel-indexer-database-types = { version = "0.1", path = "../database-types" }
fuel-indexer-lib = { version = "0.1", path = "../../fuel-indexer-lib" }
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "offline", "json"] }
tracing = "0.1"
2 changes: 1 addition & 1 deletion fuel-indexer-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuel-indexer-lib"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
Expand Down
10 changes: 5 additions & 5 deletions fuel-indexer-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuel-indexer-macros"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
Expand All @@ -13,9 +13,9 @@ development = ["fuels", "fuel-indexer-plugin"]
proc-macro = true

[dependencies]
fuel-indexer-lib = { version = "0.1.0", path = "../fuel-indexer-lib", default-features = false }
fuel-indexer-schema = { version = "0.1.0", path = "../fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.1.0", path = "../fuel-indexer-types" }
fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib", default-features = false }
fuel-indexer-schema = { version = "0.1", path = "../fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.1", path = "../fuel-indexer-types" }
fuel-tx = "0.18"
fuels-core = { version = "0.26" }
fuels-types = { version = "0.26" }
Expand All @@ -30,7 +30,7 @@ sha2 = "0.9.5"
syn = { version = "1.0", features = ["full"] }

[dev-dependencies]
fuel-indexer-plugin = { version = "0.1.0", path = "../fuel-indexer-plugin" }
fuel-indexer-plugin = { version = "0.1", path = "../fuel-indexer-plugin" }
fuels = { version = "0.26" }
trybuild = "1.0"

Expand Down
8 changes: 4 additions & 4 deletions fuel-indexer-plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuel-indexer-plugin"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
Expand All @@ -10,6 +10,6 @@ description = "Fuel Indexer Plugin"
crate-type = ['rlib']

[dependencies]
fuel-indexer-lib = { version = "0.1.0", path = "../fuel-indexer-lib", default-features = false }
fuel-indexer-schema = { version = "0.1.0", path = "../fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.1.0", path = "../fuel-indexer-types" }
fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib", default-features = false }
fuel-indexer-schema = { version = "0.1", path = "../fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.1", path = "../fuel-indexer-types" }
14 changes: 7 additions & 7 deletions fuel-indexer-schema/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuel-indexer-schema"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
Expand All @@ -9,12 +9,12 @@ description = "Fuel Indexer Schema"
[dependencies]
bincode = "1.3.3"
chrono = { version = "0.4", default-features = false, features = ["serde"] }
fuel-indexer-database = { version = "0.1.0", path = "../fuel-indexer-database", optional = true }
fuel-indexer-database-types = { version = "0.1.0", path = "../fuel-indexer-database/database-types" }
fuel-indexer-lib = { version = "0.1.0", path = "../fuel-indexer-lib" }
fuel-indexer-postgres = { version = "0.1.0", path = "../fuel-indexer-database/postgres", optional = true }
fuel-indexer-sqlite = { version = "0.1.0", path = "../fuel-indexer-database/sqlite", optional = true }
fuel-indexer-types = { version = "0.1.0", path = "../fuel-indexer-types" }
fuel-indexer-database = { version = "0.1", path = "../fuel-indexer-database", optional = true }
fuel-indexer-database-types = { version = "0.1", path = "../fuel-indexer-database/database-types" }
fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib" }
fuel-indexer-postgres = { version = "0.1", path = "../fuel-indexer-database/postgres", optional = true }
fuel-indexer-sqlite = { version = "0.1", path = "../fuel-indexer-database/sqlite", optional = true }
fuel-indexer-types = { version = "0.1", path = "../fuel-indexer-types" }
fuel-tx = { version = "0.18", features = ["serde", "alloc"] }
fuel-types = { version = "0.5", features = ["serde", "alloc"] }
fuels-core = "0.26"
Expand Down
10 changes: 5 additions & 5 deletions fuel-indexer-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ harness = true
[dependencies]
async-std = "1"
chrono = { version = "0.4", features = ["serde"] }
fuel-indexer = { version = "0.1.0", path = "./../fuel-indexer" }
fuel-indexer-database = { version = "0.1.0", path = "./../fuel-indexer-database" }
fuel-indexer-lib = { version = "0.1.0", path = "./../fuel-indexer-lib" }
fuel-indexer-schema = { version = "0.1.0", path = "./../fuel-indexer-schema" }
fuel-indexer-types = { version = "0.1.0", path = "./../fuel-indexer-types" }
fuel-indexer = { version = "0.1", path = "./../fuel-indexer" }
fuel-indexer-database = { version = "0.1", path = "./../fuel-indexer-database" }
fuel-indexer-lib = { version = "0.1", path = "./../fuel-indexer-lib" }
fuel-indexer-schema = { version = "0.1", path = "./../fuel-indexer-schema" }
fuel-indexer-types = { version = "0.1", path = "./../fuel-indexer-types" }
fuel-tx = "0.18"
fuel-types = "0.5"
fuels = { version = "0.26", features = ["fuel-core-lib"] }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ publish = false
crate-type = ['cdylib']

[dependencies]
fuel-indexer-macros = { version = "0.1.0", path = "../../../../fuel-indexer-macros", default-features = false }
fuel-indexer-plugin = { version = "0.1.0", path = "../../../../fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.1.0", path = "../../../../fuel-indexer-schema", default-features = false }
fuel-indexer-macros = { version = "0.1", path = "../../../../fuel-indexer-macros", default-features = false }
fuel-indexer-plugin = { version = "0.1", path = "../../../../fuel-indexer-plugin" }
fuel-indexer-schema = { version = "0.1", path = "../../../../fuel-indexer-schema", default-features = false }
fuel-tx = "0.18"
fuels-core = "0.26"
fuels-types = "0.26"
Expand Down
2 changes: 1 addition & 1 deletion fuel-indexer-tests/components/web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ actix-web = { version = "4", default-features = false }
anyhow = { version = "1.0", default-features = false }
async-std = "1"
clap = { version = "3.1", features = ["cargo", "derive", "env"] }
fuel-indexer-lib = { version = "0.1.0", path = "../../../fuel-indexer-lib" }
fuel-indexer-lib = { version = "0.1", path = "../../../fuel-indexer-lib" }
fuel-indexer-tests = { version = "0.0.0", path = "./../../../fuel-indexer-tests" }
fuel-tx = "0.18"
fuel-types = "0.5"
Expand Down
4 changes: 2 additions & 2 deletions fuel-indexer-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "fuel-indexer-types"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-indexer"
description = "Fuel Indexer Types"

[dependencies]
chrono = { version = "0.4", features = ["serde"] }
fuel-indexer-lib = { version = "0.1.0", path = "../fuel-indexer-lib" }
fuel-indexer-lib = { version = "0.1", path = "../fuel-indexer-lib" }
fuel-tx = { version = "0.18", features = ["serde"] }
fuel-types = "0.5"
fuels-core = "0.26"
Expand Down
Loading

0 comments on commit 522651e

Please sign in to comment.