Skip to content

Commit

Permalink
Update workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurshsmith committed Jan 13, 2025
1 parent 111d999 commit da70602
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-rust/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
- name: Create .env file with NATS environment variables
shell: bash
run: |
echo "NATS_ADMIN_PASS=${NATS_ADMIN_PASS:-default_pass}" >> .env
echo "NATS_PUBLISHER_PASSWORD=${NATS_PUBLISHER_PASSWORD:-default_pass}" >> .env
echo "NATS_PUBLIC_PASS=${NATS_PUBLIC_PASS:-temp-public-pass}" >> .env
- name: Install Rust
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ jobs:
runs-on: ubuntu-latest
env:
NATS_URL: nats://127.0.0.1:4222
NATS_ADMIN_PASS: secret
NATS_PUBLISHER_PASSWORD: secret
NATS_PUBLIC_PASS: secret
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
build_on_pr: false
exclude:
- is_release: false
platform: {build_on_pr: false}
platform: { build_on_pr: false }
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -357,4 +357,4 @@ jobs:
name: ${{ steps.artifact-name.outputs.value }}
path: ${{ matrix.package }}-*
if-no-files-found: error
retention-days: 30
retention-days: 30
21 changes: 14 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
[workspace]
resolver = "2"
members = [
"crates/*",
]
members = ["crates/*"]

[workspace.package]
authors = ["Fuel Labs <[email protected]>"]
keywords = [ "blockchain", "crypto"]
keywords = ["blockchain", "crypto"]
edition = "2021"
homepage = "https://fuel.network/"
license = "BUSL-1.1"
Expand Down Expand Up @@ -34,11 +32,18 @@ fuel-core = { version = "0.40.2", default-features = false, features = [
"relayer",
"rocksdb",
] }
fuel-core-client = { version = "0.40.2", default-features = false, features = ["std"] }
fuel-core-client = { version = "0.40.2", default-features = false, features = [
"std",
] }
fuel-core-importer = { version = "0.40.2" }
fuel-core-storage = { version = "0.40.2" }
fuel-core-types = { version = "0.40.2", default-features = false, features = ["std", "serde"] }
fuel-core-services = { version = "0.40.2", default-features = false, features = ["test-helpers"] }
fuel-core-services = { version = "0.40.2", default-features = false, features = [
"test-helpers",
] }
fuel-core-types = { version = "0.40.2", default-features = false, features = [
"std",
"serde",
] }
futures-util = "0.3"
hex = "0.4"
mockall = "0.13"
Expand All @@ -57,3 +62,5 @@ tracing-subscriber = "0.3"
thiserror = "2.0"


# Workspace members
fuel-core-interfacing = { path = "crates/fuel-core-interfacing" }
54 changes: 54 additions & 0 deletions crates/fuel-data-historical-publisher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[package]
name = "fuel-data-publisher"
description = "Binary for publishing historical fuel data"
authors = { workspace = true }
keywords = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
version = { workspace = true }
rust-version = { workspace = true }
publish = false

[dependencies]
anyhow = { workspace = true }
async-nats = { workspace = true }
async-trait = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true }
derive_more = { version = "1.0", features = ["full"] }
displaydoc = { workspace = true }
dotenvy = { workspace = true }
fuel-core = { workspace = true }
fuel-core-bin = { workspace = true }
fuel-core-importer = { workspace = true }
fuel-core-services = { workspace = true }
fuel-core-storage = { workspace = true }
fuel-core-types = { workspace = true }
futures = { workspace = true }
num_cpus = "1.16"
parking_lot = { version = "0.12", features = ["serde"] }
prometheus = { version = "0.13", features = ["process"] }
rand = { workspace = true }
rayon = "1.10.0"
rust_decimal = { version = "1.13" }
serde = { workspace = true }
serde_json = { workspace = true }
serde_prometheus = { version = "0.2" }
sha2 = { workspace = true }
thiserror = "2.0"
tokio = { workspace = true }
tracing = { workspace = true }
url = "2.5"

[dev-dependencies]
assert_matches = { workspace = true }
mockall = { workspace = true }
mockall_double = { workspace = true }

[features]
default = []
test-helpers = []


0 comments on commit da70602

Please sign in to comment.