Skip to content

Commit

Permalink
Merge pull request #1163 from jbesraa/2024-09-12-mining-device-lib-se…
Browse files Browse the repository at this point in the history
…paration

Separate `lib` code from `bin` in `mining-device`
  • Loading branch information
rrybarczyk authored Sep 30, 2024
2 parents 060131e + 48a81b0 commit ba4c935
Show file tree
Hide file tree
Showing 4 changed files with 726 additions and 714 deletions.
2 changes: 1 addition & 1 deletion roles/Cargo.lock

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

8 changes: 7 additions & 1 deletion roles/test-utils/mining-device/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
[package]
name = "mining-device"
name = "mining_device"
version = "0.1.1"
edition = "2018"
publish = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
name = "mining_device"
path = "src/lib/mod.rs"


[dependencies]
stratum-common = { version = "1.0.0", path = "../../../common" }
codec_sv2 = { version = "^1.0.1", path = "../../../protocols/v2/codec-sv2", features=["noise_sv2"] }
Expand All @@ -24,3 +29,4 @@ tracing = { version = "0.1" }
tracing-subscriber = "0.3"
sha2 = "0.10.6"
tokio = "^1.38.0"

Loading

0 comments on commit ba4c935

Please sign in to comment.