Skip to content

Commit f014821

Browse files
twittnersveitser
andauthored
Remove workspace-hack. (#3623)
* Remove workspace-hack and check crates individually. Ensure that crates specify dependencies correctly and do not depend on feature unification in this workspace. * Add to github lint workflow. * Import `NodeType` under feature `hotshot-testing`. * Please rustfmt. * Revert "Add to github lint workflow." This reverts commit 75b21c3. * Remove `check-individually` recipe. --------- Co-authored-by: Mathis <[email protected]>
1 parent 1935ecf commit f014821

File tree

20 files changed

+2
-413
lines changed

20 files changed

+2
-413
lines changed

.config/hakari.toml

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

Cargo.lock

Lines changed: 0 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ futures = "0.3"
126126
hex = "0.4"
127127
indexmap = { version = "2", features = ["serde"] }
128128
lazy_static = "1"
129-
libp2p-identity = "0.2"
129+
libp2p-identity = { version = "0.2", features = ["ed25519", "serde"] }
130130
libp2p-swarm-derive = { version = "0.35" }
131131
memoize = { version = "0.4", features = ["full"] }
132132
multiaddr = { version = "0.18" }

crates/hotshot/builder-api/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ thiserror = { workspace = true }
1818
tide-disco = { workspace = true }
1919
toml = { workspace = true }
2020
vbs = { workspace = true }
21-
workspace-hack = { version = "0.1", path = "../workspace-hack" }
2221

2322
[lints]
2423
workspace = true

crates/hotshot/example-types/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ time = { workspace = true }
3131
tokio = { workspace = true }
3232
url = { workspace = true }
3333
vbs = { workspace = true }
34-
workspace-hack = { version = "0.1", path = "../workspace-hack" }
3534

3635
[lints]
3736
workspace = true

crates/hotshot/examples/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ tokio = { workspace = true }
4747

4848
tracing = { workspace = true }
4949
url = { workspace = true }
50-
workspace-hack = { version = "0.1", path = "../workspace-hack" }
5150

5251
[dev-dependencies]
5352
anyhow = { workspace = true }

crates/hotshot/hotshot/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,9 @@ tracing = { workspace = true }
5555
tracing-subscriber = { workspace = true }
5656
url = { workspace = true }
5757
vbs = { workspace = true }
58-
workspace-hack = { version = "0.1", path = "../workspace-hack" }
5958

6059
[dev-dependencies]
6160
blake3 = { workspace = true }
6261

6362
[lints]
6463
workspace = true
65-

crates/hotshot/hotshot/src/traits/networking/push_cdn_network.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ use tokio::{spawn, time::sleep};
5555
use tracing::error;
5656

5757
use super::NetworkError;
58+
#[cfg(feature = "hotshot-testing")]
5859
use crate::NodeType;
5960

6061
/// CDN-specific metrics

crates/hotshot/libp2p-networking/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ serde = { workspace = true }
3535
tokio = { workspace = true }
3636
tracing = { workspace = true }
3737
tracing-subscriber = { workspace = true }
38-
workspace-hack = { version = "0.1", path = "../workspace-hack" }
3938

4039
[dev-dependencies]
4140
hotshot-example-types = { workspace = true }

crates/hotshot/macros/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ proc-macro2 = "1"
1414
# proc macro stuff
1515
quote = "1"
1616
syn = { version = "2", features = ["full", "extra-traits"] }
17-
workspace-hack = { version = "0.1", path = "../workspace-hack" }
1817

1918
[lints]
2019
workspace = true

0 commit comments

Comments
 (0)