Skip to content

Commit eb88fca

Browse files
committed
Restructure repo according to issue #1799
- Moved roles to its own repository: https://github.com/stratum-mining/sv2-apps - See: #1799
1 parent ebccc10 commit eb88fca

File tree

355 files changed

+363
-30612
lines changed

Some content is hidden

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

355 files changed

+363
-30612
lines changed

.github/workflows/clippy-lint.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ jobs:
2727
toolchain: stable
2828
override: true
2929
components: clippy
30-
- name: Run Clippy on different workspaces and crates
31-
run: ./scripts/rust/clippy.sh
30+
- name: Run Clippy
31+
run: |
32+
cargo clippy -- -D warnings

.github/workflows/coverage-protocols.yaml

Lines changed: 0 additions & 134 deletions
This file was deleted.

.github/workflows/coverage-roles.yaml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/coverage-utils.yaml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.github/workflows/docs.yaml

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,73 +34,84 @@ jobs:
3434
cd utils/buffer
3535
cargo doc
3636
37+
- name: Rust Docs crate bip32-key-derivation
38+
run: |
39+
cd utils/bip32-key-derivation
40+
cargo doc
41+
42+
- name: Rust Docs crate key-utils
43+
run: |
44+
cd utils/key-utils
45+
cargo doc
46+
47+
3748
- name: Rust Docs crate binary_sv2 derive_codec
3849
run: |
39-
cd protocols/v2/binary-sv2/derive_codec
50+
cd sv2/binary-sv2/derive_codec
4051
cargo doc
4152
4253
- name: Rust Docs crate binary_sv2 codec
4354
run: |
44-
cd protocols/v2/binary-sv2/codec
55+
cd sv2/binary-sv2/codec
4556
cargo doc --features with_buffer_pool
4657
4758
- name: Rust Docs crate binary_sv2
4859
run: |
49-
cd protocols/v2/binary-sv2
60+
cd sv2/binary-sv2
5061
cargo doc --features with_buffer_pool
5162
5263
- name: Rust Docs crate channels_sv2
5364
run: |
54-
cd protocols/v2/channels-sv2
65+
cd sv2/channels-sv2
5566
cargo doc
5667
5768
- name: Rust Docs crate parsers_sv2
5869
run: |
59-
cd protocols/v2/parsers-sv2
70+
cd sv2/parsers-sv2
6071
cargo doc
6172
6273
- name: Rust Docs crate framing_sv2
6374
run: |
64-
cd protocols/v2/framing-sv2
75+
cd sv2/framing-sv2
6576
cargo doc --features with_buffer_pool
6677
6778
- name: Rust Docs crate noise_sv2
6879
run: |
69-
cd protocols/v2/noise-sv2
80+
cd sv2/noise-sv2
7081
cargo doc --features std
7182
7283
- name: Rust Docs crate codec_sv2
7384
run: |
74-
cd protocols/v2/codec-sv2
85+
cd sv2/codec-sv2
7586
cargo doc --features with_buffer_pool,noise_sv2
7687
7788
- name: Rust Docs crate common_messages
7889
run: |
79-
cd protocols/v2/subprotocols/common-messages
90+
cd sv2/subprotocols/common-messages
8091
cargo doc
8192
8293
- name: Rust Docs crate job_declaration
8394
run: |
84-
cd protocols/v2/subprotocols/job-declaration
95+
cd sv2/subprotocols/job-declaration
8596
cargo doc --all-features
8697
8798
- name: Rust Docs crate mining
8899
run: |
89-
cd protocols/v2/subprotocols/mining
100+
cd sv2/subprotocols/mining
90101
cargo doc --all-features
91102
92103
- name: Rust Docs crate template_distribution
93104
run: |
94-
cd protocols/v2/subprotocols/template-distribution
105+
cd sv2/subprotocols/template-distribution
95106
cargo doc
96107
97108
- name: Rust Docs crate roles_logic_sv2
98109

99110
run: |
100-
cd protocols/v2/roles-logic-sv2
111+
cd sv2/roles-logic-sv2
101112
cargo doc
102113
103114
- name: Rust Docs crate sv1_api
104115
run: |
105-
cd protocols/v1
116+
cd sv1
106117
cargo doc

.github/workflows/fmt.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,4 @@ jobs:
2929
components: rustfmt
3030
- name: Run fmt in different workspaces and crates
3131
run: |
32-
cargo fmt --all --manifest-path=benches/Cargo.toml -- --check
33-
cargo fmt --all --manifest-path=common/Cargo.toml -- --check
34-
cargo fmt --all --manifest-path=protocols/Cargo.toml -- --check
35-
cargo fmt --all --manifest-path=roles/Cargo.toml -- --check
36-
cargo fmt --all --manifest-path=utils/Cargo.toml -- --check
37-
cargo fmt --all --manifest-path=test/integration-tests/Cargo.toml -- --check
32+
cargo fmt --all -- --check --verbose

0 commit comments

Comments
 (0)