Skip to content

Commit 05ee6cf

Browse files
authored
chore: move to crates folder (#461)
1 parent 25f96d8 commit 05ee6cf

File tree

122 files changed

+44
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+44
-38
lines changed

.github/workflows/containers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
pull-requests: write
1919
runs-on: ubuntu-latest
2020
outputs:
21-
indexer-service-rs: ${{ steps.release-please.outputs.service--tag_name }}
22-
indexer-tap-agent: ${{ steps.release-please.outputs.tap-agent--tag_name }}
21+
indexer-service-rs: ${{ steps.release-please.outputs.['crates/service--tag_name'] }}
22+
indexer-tap-agent: ${{ steps.release-please.outputs.['crates/tap-agent--tag_name'] }}
2323
steps:
2424
- name: Release please
2525
id: release-please

.github/workflows/license_headers_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
-ignore '.github/*.yml' \
2929
-ignore '.github/workflows/*.yaml' \
3030
-ignore '.github/*.yaml' \
31-
-ignore 'migrations/*.sql' \
31+
-ignore 'crates/migrations/*.sql' \
3232
.

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Install sqlx
5454
run: cargo install sqlx-cli --no-default-features --features postgres
5555
- name: Run the test sqlx migrations
56-
run: cargo sqlx migrate run
56+
run: cargo sqlx migrate run --source crates/migrations
5757
- name: Check that the sqlx prepared query metadata is up-to-date
5858
run: cargo sqlx prepare --workspace --check -- --all-targets --all-features
5959

@@ -124,7 +124,7 @@ jobs:
124124
- name: Install sqlx
125125
run: cargo install sqlx-cli --no-default-features --features postgres
126126
- name: Run the test sqlx migrations
127-
run: cargo sqlx migrate run
127+
run: cargo sqlx migrate run --source crates/migrations
128128
- name: Run tests and generate coverage report
129129
run: cargo llvm-cov test --all-features --workspace --lcov --output-path lcov.info
130130
- name: Upload coverage to Coveralls
@@ -172,6 +172,6 @@ jobs:
172172
- name: Install sqlx
173173
run: cargo install sqlx-cli --no-default-features --features postgres
174174
- name: Run the test sqlx migrations
175-
run: cargo sqlx migrate run
175+
run: cargo sqlx migrate run --source crates/migrations
176176
- name: Test documentation code snippets
177177
run: cargo test --doc --all-features --workspace

.release-please-manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"tap-agent": "1.7.2",
3-
"common": "1.4.0",
4-
"config": "1.2.1",
5-
"service": "1.3.2"
2+
"crates/tap-agent": "1.7.2",
3+
"crates/common": "1.4.0",
4+
"crates/config": "1.2.1",
5+
"crates/service": "1.3.2"
66
}

Cargo.toml

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
[workspace]
2-
members = ["common", "config", "dips", "service", "tap-agent"]
2+
members = [
3+
"crates/common",
4+
"crates/config",
5+
"crates/dips",
6+
"crates/service",
7+
"crates/tap-agent",
8+
]
39
resolver = "2"
410

511
[profile.dev.package."*"]
612
opt-level = 3
713

814
[workspace.dependencies]
915
alloy = { version = "=0.5.4", features = [
10-
"kzg",
11-
"signer-mnemonic",
12-
"dyn-abi",
13-
"sol-types",
14-
"signer-local",
15-
"eip712",
16-
"rlp",
17-
"signers",
16+
"kzg",
17+
"signer-mnemonic",
18+
"dyn-abi",
19+
"sol-types",
20+
"signer-local",
21+
"eip712",
22+
"rlp",
23+
"signers",
1824
], default-features = false }
1925
clap = "4.4.3"
2026
lazy_static = "1.4.0"
@@ -27,21 +33,21 @@ async-trait = "0.1.72"
2733
eventuals = "0.6.7"
2834
base64 = "0.22.1"
2935
reqwest = { version = "0.12", features = [
30-
"charset",
31-
"h2",
36+
"charset",
37+
"h2",
3238
], default-features = false }
3339
serde = { version = "1.0.206", default-features = false }
3440
serde_json = "1.0.124"
3541
sqlx = { version = "0.8.2", features = [
36-
"bigdecimal",
37-
"chrono",
38-
"json",
39-
"macros",
40-
"migrate",
41-
"postgres",
42-
"runtime-tokio",
43-
"rust_decimal",
44-
"uuid",
42+
"bigdecimal",
43+
"chrono",
44+
"json",
45+
"macros",
46+
"migrate",
47+
"postgres",
48+
"runtime-tokio",
49+
"rust_decimal",
50+
"uuid",
4551
], default-features = false }
4652
uuid = { version = "1.11.0", features = ["v7"] }
4753
tracing = { version = "0.1.40", default-features = false }
@@ -50,12 +56,12 @@ build-info = "0.0.39"
5056
tap_core = { git = "https://github.com/semiotic-ai/timeline-aggregation-protocol", rev = "61b47b3", default-features = false }
5157
tap_aggregator = { git = "https://github.com/semiotic-ai/timeline-aggregation-protocol", rev = "61b47b3", default-features = false }
5258
tracing-subscriber = { version = "0.3", features = [
53-
"json",
54-
"env-filter",
55-
"ansi",
59+
"json",
60+
"env-filter",
61+
"ansi",
5662
], default-features = false }
5763
thegraph-core = { git = "https://github.com/edgeandnode/toolshed", rev = "1663534fc1738e2db1b11cb54b5bb478ee970d40", features = [
58-
"subgraph-client",
64+
"subgraph-client",
5965
] }
6066
thegraph-graphql-http = "0.2.0"
6167
graphql_client = { version = "0.14.0", features = ["reqwest-rustls"] }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)