Skip to content

Commit

Permalink
style: Formatted cargo files (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoffranca authored Oct 7, 2024
1 parent 2ef11bc commit 7fbe53f
Show file tree
Hide file tree
Showing 14 changed files with 227 additions and 227 deletions.
2 changes: 1 addition & 1 deletion node/.config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ final-status-level = "all"

[[profile.ci.overrides]]
# Force end-to-end tests to run sequentially and exclusively with all other tests
filter = "test(/::end_to_end::/)"
filter = "test(/::end_to_end::/)"
threads-required = "num-test-threads"
44 changes: 22 additions & 22 deletions node/actors/bft/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
[package]
name = "zksync_consensus_bft"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
authors.workspace = true
description = "ZKsync consensus bft actor"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "zksync_consensus_bft"
repository.workspace = true
keywords.workspace = true
description = "ZKsync consensus bft actor"
version.workspace = true

[dependencies]
zksync_concurrency.workspace = true
zksync_consensus_crypto.workspace = true
zksync_concurrency.workspace = true
zksync_consensus_crypto.workspace = true
zksync_consensus_network.workspace = true
zksync_consensus_roles.workspace = true
zksync_consensus_roles.workspace = true
zksync_consensus_storage.workspace = true
zksync_consensus_utils.workspace = true
zksync_protobuf.workspace = true
zksync_consensus_utils.workspace = true
zksync_protobuf.workspace = true

anyhow.workspace = true
anyhow.workspace = true
async-trait.workspace = true
once_cell.workspace = true
rand.workspace = true
thiserror.workspace = true
tracing.workspace = true
vise.workspace = true
once_cell.workspace = true
rand.workspace = true
thiserror.workspace = true
tracing.workspace = true
vise.workspace = true

[dev-dependencies]
tokio = { workspace = true, features = ["full","test-util"]}
assert_matches.workspace = true
assert_matches.workspace = true
pretty_assertions.workspace = true
test-casing.workspace = true
test-casing.workspace = true
tokio = { workspace = true, features = ["full", "test-util"] }

[lints]
workspace = true
40 changes: 20 additions & 20 deletions node/actors/executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
[package]
name = "zksync_consensus_executor"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
authors.workspace = true
description = "ZKsync consensus executor actor"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "zksync_consensus_executor"
repository.workspace = true
keywords.workspace = true
description = "ZKsync consensus executor actor"
version.workspace = true

[dependencies]
zksync_concurrency.workspace = true
zksync_consensus_bft.workspace = true
zksync_consensus_crypto.workspace = true
zksync_concurrency.workspace = true
zksync_consensus_bft.workspace = true
zksync_consensus_crypto.workspace = true
zksync_consensus_network.workspace = true
zksync_consensus_roles.workspace = true
zksync_consensus_roles.workspace = true
zksync_consensus_storage.workspace = true
zksync_consensus_utils.workspace = true
zksync_protobuf.workspace = true
zksync_consensus_utils.workspace = true
zksync_protobuf.workspace = true

anyhow.workspace = true
anyhow.workspace = true
async-trait.workspace = true
rand.workspace = true
semver.workspace = true
tracing.workspace = true
vise.workspace = true
rand.workspace = true
semver.workspace = true
tracing.workspace = true
vise.workspace = true

[dev-dependencies]
test-casing.workspace = true
tokio.workspace = true
tokio.workspace = true

[lints]
workspace = true
2 changes: 1 addition & 1 deletion node/clippy.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
enum-variant-size-threshold = 500
missing-docs-in-crate-items = true
missing-docs-in-crate-items = true
14 changes: 7 additions & 7 deletions node/deny.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[graph]
# We only check dependencies against these platforms.
targets = [
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-unknown-linux-musl" },
]

[licenses]
Expand All @@ -14,9 +14,9 @@ allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"OpenSSL",
"ISC",
"MIT",
"OpenSSL",
"Unicode-DFS-2016",
# Weak copyleft licenses
"MPL-2.0",
Expand All @@ -31,7 +31,7 @@ name = "ring"
# license, for third_party/fiat, which, unlike other third_party directories, is
# compiled into non-test libraries, is included below."
# OpenSSL - Obviously
expression = "MIT"
expression = "MIT"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

[bans]
Expand All @@ -53,14 +53,14 @@ skip = [
{ name = "base64", version = "0.21.7" },

# Old versions required by vise-exporter.
{ name = "http", version = "0.2.12"},
{ name = "http-body", version = "0.4.6"},
{ name = "hyper", version = "0.14.28"},
{ name = "http", version = "0.2.12" },
{ name = "http-body", version = "0.4.6" },
{ name = "hyper", version = "0.14.28" },

# Old version required by rand.
{ name = "zerocopy", version = "0.6.6" },
]

[sources]
unknown-git = "deny"
unknown-registry = "deny"
unknown-git = "deny"
36 changes: 18 additions & 18 deletions node/libs/concurrency/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
[package]
name = "zksync_concurrency"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
authors.workspace = true
description = "Structured concurrency framework"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "zksync_concurrency"
repository.workspace = true
keywords.workspace = true
description = "Structured concurrency framework"
version.workspace = true

[dependencies]
anyhow.workspace = true
once_cell.workspace = true
pin-project.workspace = true
rand.workspace = true
sha3.workspace = true
thiserror.workspace = true
time.workspace = true
tokio.workspace = true
tracing.workspace = true
anyhow.workspace = true
once_cell.workspace = true
pin-project.workspace = true
rand.workspace = true
sha3.workspace = true
thiserror.workspace = true
time.workspace = true
tokio.workspace = true
tracing-subscriber.workspace = true
vise.workspace = true
tracing.workspace = true
vise.workspace = true

[lints]
workspace = true
Expand Down
42 changes: 21 additions & 21 deletions node/libs/crypto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
[package]
name = "zksync_consensus_crypto"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
authors.workspace = true
description = "ZKsync consensus cryptographic utilities"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "zksync_consensus_crypto"
repository.workspace = true
keywords.workspace = true
description = "ZKsync consensus cryptographic utilities"
version.workspace = true

[dependencies]
anyhow.workspace = true
blst.workspace = true
ed25519-dalek.workspace = true
anyhow.workspace = true
blst.workspace = true
ed25519-dalek.workspace = true
elliptic-curve.workspace = true
hex.workspace = true
k256.workspace = true
num-bigint.workspace = true
num-traits.workspace = true
rand.workspace = true
sha3.workspace = true
thiserror.workspace = true
tracing.workspace = true
zeroize.workspace = true
hex.workspace = true
k256.workspace = true
num-bigint.workspace = true
num-traits.workspace = true
rand.workspace = true
sha3.workspace = true
thiserror.workspace = true
tracing.workspace = true
zeroize.workspace = true

[dev-dependencies]
criterion.workspace = true
Expand All @@ -31,5 +31,5 @@ criterion.workspace = true
workspace = true

[[bench]]
name = "bench"
harness = false
name = "bench"
42 changes: 21 additions & 21 deletions node/libs/protobuf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
[package]
name = "zksync_protobuf"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
authors.workspace = true
description = "ZKsync consensus protobuf types and utilities"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
links = "zksync_protobuf_proto"
name = "zksync_protobuf"
repository.workspace = true
keywords.workspace = true
links = "zksync_protobuf_proto"
description = "ZKsync consensus protobuf types and utilities"
version.workspace = true

[dependencies]
zksync_concurrency.workspace = true
zksync_concurrency.workspace = true
zksync_consensus_utils.workspace = true

anyhow.workspace = true
bit-vec.workspace = true
once_cell.workspace = true
prost.workspace = true
prost-reflect.workspace = true
anyhow.workspace = true
bit-vec.workspace = true
once_cell.workspace = true
prost-reflect.workspace = true
prost.workspace = true
quick-protobuf.workspace = true
rand.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_yaml.workspace = true
rand.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_yaml.workspace = true

[dev-dependencies]
tokio.workspace = true
tracing.workspace = true
tokio.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true

[build-dependencies]
zksync_protobuf_build.workspace = true
Expand Down
32 changes: 16 additions & 16 deletions node/libs/protobuf_build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
[package]
name = "zksync_protobuf_build"
version.workspace = true
edition.workspace = true
authors.workspace = true
homepage.workspace = true
license.workspace = true
authors.workspace = true
description = "ZKsync consensus protobuf codegen"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
name = "zksync_protobuf_build"
repository.workspace = true
keywords.workspace = true
description = "ZKsync consensus protobuf codegen"
version.workspace = true

[dependencies]
anyhow.workspace = true
heck.workspace = true
prettyplease.workspace = true
proc-macro2.workspace = true
prost-build.workspace = true
anyhow.workspace = true
heck.workspace = true
prettyplease.workspace = true
proc-macro2.workspace = true
prost-build.workspace = true
prost-reflect.workspace = true
protox.workspace = true
quote.workspace = true
syn.workspace = true
protox.workspace = true
quote.workspace = true
syn.workspace = true

[lints]
workspace = true
Loading

0 comments on commit 7fbe53f

Please sign in to comment.