Skip to content

Commit

Permalink
Use workspace-wide temporary patch for casper-types
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Chabowski committed Mar 25, 2024
1 parent 5a4b005 commit f7b00f7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 28 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ members = [
anyhow = "1"
async-stream = "0.3.4"
async-trait = "0.1.77"

#casper-types = { git = "https://github.com/casper-network/casper-node", branch="feat-2.0" }
casper-types = { path = "../../casper-node/types" }

casper-types = { git = "https://github.com/casper-network/casper-node", branch="feat-2.0" }
casper-event-sidecar = { path = "./event_sidecar", version = "1.0.0" }
casper-event-types = { path = "./types", version = "1.0.0" }
casper-rpc-sidecar = { path = "./rpc_sidecar", version = "1.0.0" }
Expand All @@ -32,3 +29,6 @@ toml = "0.5.8"
tracing = { version = "0", default-features = false }
tracing-subscriber = "0"
serde = { version = "1", default-features = false }

[patch.'https://github.com/casper-network/casper-node']
casper-types = { path = "../casper-node/types" }
10 changes: 2 additions & 8 deletions event_sidecar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ async-trait = "0.1.56"
bytes = "1.2.0"
casper-event-listener = { path = "../listener", version = "1.0.0" }
casper-event-types.workspace = true

#casper-types = { workspace = true, features = ["std", "json-schema"] }
casper-types = { path = "../../casper-node/types" }

casper-types = { workspace = true, features = ["std", "json-schema"] }
derive-new = "0.5.9"
eventsource-stream = "0.2.3"
futures = { workspace = true }
Expand Down Expand Up @@ -58,10 +55,7 @@ wheelbuf = "0.2.0"
[dev-dependencies]
async-stream = { workspace = true }
casper-event-types = { workspace = true, features = ["sse-data-testing"] }

#casper-types = { workspace = true, features = ["std", "testing"] }
casper-types = { path = "../../casper-node/types" }

casper-types = { workspace = true, features = ["std", "testing"] }
colored = "2.0.0"
futures-util = { workspace = true }
once_cell = { workspace = true }
Expand Down
5 changes: 1 addition & 4 deletions listener/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ async-stream = { workspace = true }
async-trait = { workspace = true }
bytes = "1.2.0"
casper-event-types.workspace = true

#casper-types = { workspace = true, features = ["std"] }
casper-types = { path = "../../casper-node/types" }

casper-types = { workspace = true, features = ["std"] }
eventsource-stream = "0.2.3"
futures = { workspace = true }
futures-util = { workspace = true }
Expand Down
10 changes: 2 additions & 8 deletions rpc_sidecar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ base16 = "0.2.1"
bincode = "1"
bytes = "1.5.0"
casper-json-rpc = { version = "1.0.0", path = "../json_rpc" }

#casper-types = { workspace = true, features = ["datasize", "json-schema", "std"] }
casper-types = { path = "../../casper-node/types" }
casper-types = { workspace = true, features = ["datasize", "json-schema", "std"] }
casper-binary-port = { path = "../../casper-node/binary_port" }

datasize = { workspace = true, features = ["detailed", "fake_clock-types"] }
futures = { workspace = true }
http = "0.2.1"
Expand All @@ -46,10 +43,7 @@ warp = { version = "0.3.6", features = ["compression"] }

[dev-dependencies]
assert-json-diff = "2"

#casper-types = { workspace = true, features = ["datasize", "json-schema", "std", "testing"] }
casper-types = { path = "../../casper-node/types" }

casper-types = { workspace = true, features = ["datasize", "json-schema", "std", "testing"] }
pretty_assertions = "0.7.2"
regex = "1"
tempfile = "3"
Expand Down
5 changes: 1 addition & 4 deletions types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ repository = "https://github.com/casper-network/casper-sidecar/"
[dependencies]
base16 = "0.2.1"
blake2 = { version = "0.9.0", optional = true }

#casper-types = { workspace = true, features = ["std"] }
casper-types = { path = "../../casper-node/types" }

casper-types = { workspace = true, features = ["std"] }
hex-buffer-serde = "0.3.0"
hex_fmt = "0.3.0"
once_cell = { workspace = true }
Expand Down

0 comments on commit f7b00f7

Please sign in to comment.