-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge
protocols
and roles
workspaces
This commits removes the `protocols` and `roles` workspaces and creates a new shared workspace for both of them. In practice we dont have a need to maintain two different workspaces and no benefit is derived from that. With moving to a shared workspaces, the naming of the parent folders was changed as will with `roles` becoming `stratum-roles` and `protocols` becoming `stratum-protocols` and same for `common` crate. This required a fix a across the codebase of the imports inside the different `Cargo.toml`s.
- Loading branch information
Showing
233 changed files
with
874 additions
and
756 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name = "stratum_v2" | ||
version = "1.0.2" | ||
authors = ["The Stratum v2 Developers"] | ||
edition = "2021" | ||
description = "" | ||
documentation = "https://github.com/stratum-mining/stratum" | ||
homepage = "https://stratumprotocol.org" | ||
repository = "https://github.com/stratum-mining/stratum" | ||
license = "MIT + Apache-2.0" | ||
license-file = "LICENSE.md" | ||
keywords = ["stratum", "mining", "bitcoin", "protocol"] | ||
|
||
[workspace] | ||
resolver="2" | ||
members = [ | ||
# Protocol Crates | ||
"stratum-protocols/v1", | ||
"stratum-protocols/v2/binary-sv2/serde-sv2", | ||
"stratum-protocols/v2/binary-sv2/no-serde-sv2/codec", | ||
"stratum-protocols/v2/binary-sv2/no-serde-sv2/derive_codec", | ||
"stratum-protocols/v2/binary-sv2/binary-sv2", | ||
"stratum-protocols/v2/noise-sv2", | ||
"stratum-protocols/v2/framing-sv2", | ||
"stratum-protocols/v2/codec-sv2", | ||
"stratum-protocols/v2/const-sv2", | ||
"stratum-protocols/v2/subprotocols/common-messages", | ||
"stratum-protocols/v2/subprotocols/template-distribution", | ||
"stratum-protocols/v2/subprotocols/mining", | ||
"stratum-protocols/v2/subprotocols/job-declaration", | ||
"stratum-protocols/v2/sv2-ffi", | ||
"stratum-protocols/v2/roles-logic-sv2", | ||
|
||
# Roles Crates | ||
"stratum-roles/mining-proxy", | ||
"stratum-roles/pool", | ||
"stratum-roles/test-utils/mining-device", | ||
"stratum-roles/test-utils/sv1-mining-device", | ||
"stratum-roles/translator", | ||
"stratum-roles/jd-client", | ||
"stratum-roles/jd-server", | ||
|
||
# Common Functionality | ||
"stratum-common", | ||
] | ||
|
||
[profile.dev] | ||
# Required by super_safe_lock | ||
opt-level = 1 | ||
|
||
[profile.test] | ||
# Required by super_safe_lock | ||
opt-level = 1 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.