Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ monero-serai = { git = "https://github.com/Cuprate/serai.git", rev = "e
nu-ansi-term = { version = "0.46", default-features = false }
paste = { version = "1", default-features = false }
pin-project = { version = "1", default-features = false }
pin-project-lite = { version = "0.2.16", default-features = false }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pin-project-lite is an already included dependency. meanwhile no crates imports pin-project, this can be replaced in the future.

randomx-rs = { git = "https://github.com/Cuprate/randomx-rs.git", rev = "e09955c", default-features = false }
rand = { version = "0.8", default-features = false }
rand_distr = { version = "0.4", default-features = false }
Expand Down
3 changes: 3 additions & 0 deletions helper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ time = ["dep:chrono", "std"]
thread = ["std", "dep:target_os_lib"]
tx = ["dep:monero-serai"]
fmt = ["map", "std"]
timeout = ["std", "dep:pin-project-lite", "dep:tokio"]

[dependencies]
cuprate-constants = { workspace = true, optional = true, features = ["block"] }
Expand All @@ -35,6 +36,8 @@ dirs = { workspace = true, optional = true }
futures = { workspace = true, optional = true, features = ["std"] }
monero-serai = { workspace = true, optional = true }
rayon = { workspace = true, optional = true }
tokio = { workspace = true, optional = true, features = ["time"] }
pin-project-lite = { workspace = true, optional = true }

serde = { workspace = true, optional = true, features = ["derive"] }

Expand Down
3 changes: 3 additions & 0 deletions helper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ pub mod cast;
#[cfg(feature = "fs")]
pub mod fs;

#[cfg(feature = "timeout")]
pub mod timeout;

pub mod network;

#[cfg(feature = "num")]
Expand Down
Loading