Skip to content

Commit 342b74b

Browse files
committed
fix: execute cargo sort -w after updating to latest release version 2.0.1
1 parent be78a0d commit 342b74b

File tree

14 files changed

+201
-201
lines changed

14 files changed

+201
-201
lines changed

Cargo.toml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
resolver = "2"
44

55
members = [
6-
"demo/protocol-demo",
7-
"examples/client-cardano-database",
8-
"examples/client-cardano-database-v2",
9-
"examples/client-cardano-stake-distribution",
10-
"examples/client-cardano-transaction",
11-
"examples/client-mithril-stake-distribution",
12-
"internal/mithril-build-script",
13-
"internal/mithril-cli-helper",
14-
"internal/mithril-doc",
15-
"internal/mithril-doc-derive",
16-
"internal/mithril-metric",
17-
"internal/mithril-persistence",
18-
"internal/mithril-resource-pool",
19-
"internal/signed-entity/mithril-signed-entity-lock",
20-
"internal/signed-entity/mithril-signed-entity-preloader",
21-
"mithril-aggregator",
22-
"mithril-client",
23-
"mithril-client-cli",
24-
"mithril-client-wasm",
25-
"mithril-common",
26-
"mithril-relay",
27-
"mithril-signer",
28-
"mithril-stm",
29-
"mithril-test-lab/mithril-aggregator-fake",
30-
"mithril-test-lab/mithril-end-to-end",
6+
"demo/protocol-demo",
7+
"examples/client-cardano-database",
8+
"examples/client-cardano-database-v2",
9+
"examples/client-cardano-stake-distribution",
10+
"examples/client-cardano-transaction",
11+
"examples/client-mithril-stake-distribution",
12+
"internal/mithril-build-script",
13+
"internal/mithril-cli-helper",
14+
"internal/mithril-doc",
15+
"internal/mithril-doc-derive",
16+
"internal/mithril-metric",
17+
"internal/mithril-persistence",
18+
"internal/mithril-resource-pool",
19+
"internal/signed-entity/mithril-signed-entity-lock",
20+
"internal/signed-entity/mithril-signed-entity-preloader",
21+
"mithril-aggregator",
22+
"mithril-client",
23+
"mithril-client-cli",
24+
"mithril-client-wasm",
25+
"mithril-common",
26+
"mithril-relay",
27+
"mithril-signer",
28+
"mithril-stm",
29+
"mithril-test-lab/mithril-aggregator-fake",
30+
"mithril-test-lab/mithril-end-to-end",
3131
]
3232

3333
[workspace.package]
@@ -48,9 +48,9 @@ config = "0.15.11"
4848
digest = { version = "0.10.7", features = ["alloc"] }
4949
hex = "0.4.3"
5050
mockall = "0.13.1"
51-
rayon = "1.10.0"
52-
rand_core = { version = "0.6.4", features = ["std"] }
5351
rand_chacha = "0.3.1"
52+
rand_core = { version = "0.6.4", features = ["std"] }
53+
rayon = "1.10.0"
5454
reqwest = { version = "0.12.15", default-features = false, features = ["json"] }
5555
semver = "1.0.26"
5656
serde = { version = "1.0.219", features = ["derive", "rc"] }
@@ -61,6 +61,6 @@ slog-bunyan = "2.5.0"
6161
slog-term = "2.9.1"
6262
strum = { version = "0.27.1", features = ["derive"] }
6363
thiserror = "2.0.12"
64-
tracing = "0.1.41"
6564
tokio = { version = "1.44.2", features = ["rt", "sync", "time"] }
65+
tracing = "0.1.41"
6666
warp = "0.3.7"

internal/mithril-cli-helper/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ license = { workspace = true }
99
repository = { workspace = true }
1010
include = ["**/*.rs", "Cargo.toml", "README.md", ".gitignore"]
1111

12+
[features]
13+
default = []
14+
1215
[dependencies]
1316
config = { workspace = true }
1417
serde = { workspace = true }
1518

1619
#[dev-dependencies]
1720
serde_json = { workspace = true }
18-
19-
[features]
20-
default = []

internal/mithril-doc-derive/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ repository = { workspace = true }
1111
[lib]
1212
proc-macro = true
1313

14+
[features]
15+
default = []
16+
1417
[dependencies]
1518
quote = "1.0.40"
1619
syn = { version = "2.0.101", features = ["full"] }
17-
18-
[features]
19-
default = []

internal/mithril-doc/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ license = { workspace = true }
99
repository = { workspace = true }
1010
include = ["**/*.rs", "Cargo.toml", "README.md", ".gitignore"]
1111

12+
[features]
13+
default = []
14+
1215
[dependencies]
1316
clap = { workspace = true }
1417
config = { workspace = true }
@@ -17,6 +20,3 @@ mithril-doc-derive = { path = "../mithril-doc-derive" }
1720
[dev-dependencies]
1821
mithril-cli-helper = { path = "../mithril-cli-helper" }
1922
regex = "1.11.1"
20-
21-
[features]
22-
default = []

mithril-aggregator/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ homepage = { workspace = true }
99
license = { workspace = true }
1010
repository = { workspace = true }
1111

12-
[[bench]]
13-
name = "cardano_transactions_import"
14-
harness = false
12+
[features]
13+
default = ["jemallocator"]
1514

16-
[[bench]]
17-
name = "cardano_transactions_get"
18-
harness = false
15+
bundle_tls = ["reqwest/native-tls-vendored"]
16+
jemallocator = ["dep:tikv-jemallocator"]
1917

2018
[dependencies]
2119
anyhow = { workspace = true }
@@ -84,8 +82,10 @@ slog-scope = "4.4.0"
8482
slog-term = { workspace = true }
8583
tempfile = "3.19.1"
8684

87-
[features]
88-
default = ["jemallocator"]
85+
[[bench]]
86+
name = "cardano_transactions_import"
87+
harness = false
8988

90-
bundle_tls = ["reqwest/native-tls-vendored"]
91-
jemallocator = ["dep:tikv-jemallocator"]
89+
[[bench]]
90+
name = "cardano_transactions_get"
91+
harness = false

mithril-client-cli/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ homepage = { workspace = true }
99
license = { workspace = true }
1010
repository = { workspace = true }
1111

12-
[[bin]]
13-
name = "mithril-client"
14-
path = "src/main.rs"
15-
1612
[package.metadata.deb]
1713
depends = "$auto"
1814
section = "utility"
@@ -21,6 +17,13 @@ extended-description = """Shows, downloads and verifies certified blockchain art
2117
Run `mithril-client --help` to display the available options."""
2218
assets = [["../target/release/mithril-client", "usr/bin/", "755"]]
2319

20+
[[bin]]
21+
name = "mithril-client"
22+
path = "src/main.rs"
23+
24+
[features]
25+
bundle_tls = ["mithril-client/native-tls-vendored"]
26+
2427
[dependencies]
2528
anyhow = { workspace = true }
2629
async-trait = { workspace = true }
@@ -49,6 +52,3 @@ tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
4952

5053
[dev-dependencies]
5154
mithril-common = { path = "../mithril-common", features = ["test_tools"] }
52-
53-
[features]
54-
bundle_tls = ["mithril-client/native-tls-vendored"]

mithril-client-wasm/Cargo.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,23 @@ license = { workspace = true }
99
repository = { workspace = true }
1010
categories = ["cryptography"]
1111

12+
[package.metadata.docs.rs]
13+
all-features = true
14+
# enable unstable features in the documentation
15+
rustdoc-args = ["--cfg", "docsrs"]
16+
17+
[package.metadata.cargo-machete]
18+
# wasm-bindgen-futures is required to build the project, but it's not used in the code
19+
ignored = ["wasm-bindgen-futures"]
20+
1221
[lib]
1322
crate-type = ["cdylib"]
1423

24+
[features]
25+
# Include nothing by default
26+
default = []
27+
test-node = []
28+
1529
[dependencies]
1630
anyhow = { workspace = true }
1731
async-trait = { workspace = true }
@@ -24,22 +38,8 @@ wasm-bindgen = "0.2.100"
2438
wasm-bindgen-futures = "0.4.50"
2539
web-sys = { version = "0.3.77", features = ["BroadcastChannel", "console", "Storage", "Window"] }
2640

27-
[dev-dependencies]
28-
wasm-bindgen-test = "0.3.50"
29-
3041
[build-dependencies]
3142
mithril-build-script = { path = "../internal/mithril-build-script" }
3243

33-
[features]
34-
# Include nothing by default
35-
default = []
36-
test-node = []
37-
38-
[package.metadata.docs.rs]
39-
all-features = true
40-
# enable unstable features in the documentation
41-
rustdoc-args = ["--cfg", "docsrs"]
42-
43-
[package.metadata.cargo-machete]
44-
# wasm-bindgen-futures is required to build the project, but it's not used in the code
45-
ignored = ["wasm-bindgen-futures"]
44+
[dev-dependencies]
45+
wasm-bindgen-test = "0.3.50"

mithril-client/Cargo.toml

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,45 @@ repository = { workspace = true }
1010
categories = ["cryptography"]
1111
include = ["**/*.rs", "Cargo.toml", "README.md", ".gitignore"]
1212

13+
[package.metadata.docs.rs]
14+
all-features = true
15+
# enable unstable features in the documentation
16+
rustdoc-args = ["--cfg", "docsrs"]
17+
1318
[lib]
1419
crate-type = ["lib", "cdylib", "staticlib"]
1520

16-
[[test]]
17-
name = "snapshot_list_get_show_download_verify"
18-
path = "tests/snapshot_list_get_show_download_verify.rs"
19-
required-features = ["fs"]
21+
[features]
22+
# Include native-tls in reqwest by default
23+
default = ["native-tls", "rug-backend", "enable-http-compression"]
2024

21-
[[test]]
22-
name = "cardano_transaction_proof"
23-
path = "tests/cardano_transaction_proof.rs"
24-
required-features = ["unstable"]
25+
# Full feature set
26+
full = ["fs"]
2527

26-
[[test]]
27-
name = "cardano_db_snapshot_list_get_download_verify"
28-
path = "tests/cardano_db_snapshot_list_get_download_verify.rs"
29-
required-features = ["unstable", "fs"]
28+
# Enable file system related functionality, right now that mean only snapshot download
29+
fs = ["flate2", "flume", "tar", "tokio/rt", "zstd"]
30+
portable = [] # deprecated, will be removed soon
31+
unstable = []
32+
33+
# These features are for support of dependent crates only.
34+
# They do not change the operation of the main crate.
35+
native-tls = ["reqwest/native-tls"]
36+
native-tls-alpn = ["reqwest/native-tls-alpn"]
37+
native-tls-vendored = ["reqwest/native-tls-vendored"]
38+
39+
rustls-tls = ["reqwest/rustls-tls"]
40+
rustls-tls-manual-roots = ["reqwest/rustls-tls-manual-roots"]
41+
rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
42+
rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"]
43+
44+
# Support compressed traffic with `reqwest`
45+
enable-http-compression = ["reqwest/gzip", "reqwest/zstd", "reqwest/deflate", "reqwest/brotli"]
46+
47+
# Enables usage of `rug` numerical backend in `mithril-stm` (dependency of `mithril-common`).
48+
rug-backend = ["mithril-common/rug-backend"]
49+
# Enables usage of `num-integer` numerical backend in `mithril-stm` (dependency of `mithril-common`)
50+
# by default it's `rug-backend`
51+
num-integer-backend = ["mithril-common/num-integer-backend"]
3052

3153
[dependencies]
3254
anyhow = { workspace = true }
@@ -77,39 +99,17 @@ slog-term = { workspace = true }
7799
tokio = { workspace = true, features = ["macros"] }
78100
warp = { workspace = true }
79101

80-
[features]
81-
# Include native-tls in reqwest by default
82-
default = ["native-tls", "rug-backend", "enable-http-compression"]
83-
84-
# Full feature set
85-
full = ["fs"]
86-
87-
# Enable file system related functionality, right now that mean only snapshot download
88-
fs = ["flate2", "flume", "tar", "tokio/rt", "zstd"]
89-
portable = [] # deprecated, will be removed soon
90-
unstable = []
91-
92-
# These features are for support of dependent crates only.
93-
# They do not change the operation of the main crate.
94-
native-tls = ["reqwest/native-tls"]
95-
native-tls-alpn = ["reqwest/native-tls-alpn"]
96-
native-tls-vendored = ["reqwest/native-tls-vendored"]
97-
98-
rustls-tls = ["reqwest/rustls-tls"]
99-
rustls-tls-manual-roots = ["reqwest/rustls-tls-manual-roots"]
100-
rustls-tls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
101-
rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"]
102-
103-
# Support compressed traffic with `reqwest`
104-
enable-http-compression = ["reqwest/gzip", "reqwest/zstd", "reqwest/deflate", "reqwest/brotli"]
102+
[[test]]
103+
name = "snapshot_list_get_show_download_verify"
104+
path = "tests/snapshot_list_get_show_download_verify.rs"
105+
required-features = ["fs"]
105106

106-
# Enables usage of `rug` numerical backend in `mithril-stm` (dependency of `mithril-common`).
107-
rug-backend = ["mithril-common/rug-backend"]
108-
# Enables usage of `num-integer` numerical backend in `mithril-stm` (dependency of `mithril-common`)
109-
# by default it's `rug-backend`
110-
num-integer-backend = ["mithril-common/num-integer-backend"]
107+
[[test]]
108+
name = "cardano_transaction_proof"
109+
path = "tests/cardano_transaction_proof.rs"
110+
required-features = ["unstable"]
111111

112-
[package.metadata.docs.rs]
113-
all-features = true
114-
# enable unstable features in the documentation
115-
rustdoc-args = ["--cfg", "docsrs"]
112+
[[test]]
113+
name = "cardano_db_snapshot_list_get_download_verify"
114+
path = "tests/cardano_db_snapshot_list_get_download_verify.rs"
115+
required-features = ["unstable", "fs"]

0 commit comments

Comments
 (0)