Skip to content

Commit 8ea3a30

Browse files
committed
Merge branch 'master' of github.com:libp2p/rust-libp2p into add-rusttoml
2 parents c64cab6 + 930118e commit 8ea3a30

File tree

43 files changed

+196
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+196
-141
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ resolver = "2"
7272
rust-version = "1.75.0"
7373

7474
[workspace.dependencies]
75-
asynchronous-codec = { version = "0.7.0" }
76-
futures-bounded = { version = "0.2.4" }
77-
futures-rustls = { version = "0.26.0", default-features = false }
7875
libp2p = { version = "0.54.2", path = "libp2p" }
7976
libp2p-allow-block-list = { version = "0.4.2", path = "misc/allow-block-list" }
8077
libp2p-autonat = { version = "0.13.1", path = "protocols/autonat" }
@@ -91,7 +88,7 @@ libp2p-mdns = { version = "0.46.0", path = "protocols/mdns" }
9188
libp2p-memory-connection-limits = { version = "0.3.1", path = "misc/memory-connection-limits" }
9289
libp2p-metrics = { version = "0.15.0", path = "misc/metrics" }
9390
libp2p-mplex = { version = "0.42.0", path = "muxers/mplex" }
94-
libp2p-noise = { version = "0.45.0", path = "transports/noise" }
91+
libp2p-noise = { version = "0.45.1", path = "transports/noise" }
9592
libp2p-perf = { version = "0.4.0", path = "protocols/perf" }
9693
libp2p-ping = { version = "0.45.1", path = "protocols/ping" }
9794
libp2p-plaintext = { version = "0.42.0", path = "transports/plaintext" }
@@ -114,23 +111,29 @@ libp2p-webrtc-utils = { version = "0.3.0", path = "misc/webrtc-utils" }
114111
libp2p-webrtc-websys = { version = "0.4.0-alpha.2", path = "transports/webrtc-websys" }
115112
libp2p-websocket = { version = "0.44.1", path = "transports/websocket" }
116113
libp2p-websocket-websys = { version = "0.4.1", path = "transports/websocket-websys" }
117-
libp2p-webtransport-websys = { version = "0.4.0", path = "transports/webtransport-websys" }
114+
libp2p-webtransport-websys = { version = "0.4.1", path = "transports/webtransport-websys" }
118115
libp2p-yamux = { version = "0.46.0", path = "muxers/yamux" }
116+
117+
# External dependencies
118+
asynchronous-codec = { version = "0.7.0" }
119+
futures = "0.3.30"
120+
futures-bounded = { version = "0.2.4" }
121+
futures-rustls = { version = "0.26.0", default-features = false }
119122
multiaddr = "0.18.1"
120123
multihash = "0.19.1"
121124
multistream-select = { version = "0.13.0", path = "misc/multistream-select" }
122125
prometheus-client = "0.22.2"
123126
quick-protobuf-codec = { version = "0.3.1", path = "misc/quick-protobuf-codec" }
124127
quickcheck = { package = "quickcheck-ext", path = "misc/quickcheck-ext" }
128+
rcgen = "0.11.3"
129+
ring = "0.17.8"
125130
rw-stream-sink = { version = "0.4.0", path = "misc/rw-stream-sink" }
126-
unsigned-varint = { version = "0.8.0" }
131+
thiserror = "2"
127132
tokio = { version = "1.38", default-features = false }
128133
tracing = "0.1.37"
129134
tracing-subscriber = "0.3"
130-
futures = "0.3.30"
135+
unsigned-varint = { version = "0.8.0" }
131136
web-time = "1.1.0"
132-
ring = "0.17.8"
133-
rcgen = "0.11.3"
134137

135138
[patch.crates-io]
136139

core/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
- Update `Transport::dial` function signature with a `DialOpts` param and remove `Transport::dial_as_listener`:
99
- `DialOpts` struct contains `PortUse` and `Endpoint`,
10-
- `PortUse` allows controling port allocation of new connections (defaults to `PortUse::Reuse`) -
10+
- `PortUse` allows controlling port allocation of new connections (defaults to `PortUse::Reuse`) -
1111
- Add `port_use` field to `ConnectedPoint`
1212
- Set `endpoint` field in `DialOpts` to `Endpoint::Listener` to dial as a listener
1313
- Remove `Transport::address_translation` and relocate functionality to `libp2p_swarm`

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ rand = "0.8"
2828
rw-stream-sink = { workspace = true }
2929
serde = { version = "1", optional = true, features = ["derive"] }
3030
smallvec = "1.13.2"
31-
thiserror = "1.0"
31+
thiserror = { workspace = true }
3232
tracing = { workspace = true }
3333
unsigned-varint = { workspace = true }
3434

identity/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## 0.2.8
1212

13-
- Bump `ring` to `0.17.5.
13+
- Bump `ring` to `0.17.5`.
1414
See [PR 4779](https://github.com/libp2p/rust-libp2p/pull/4779).
1515

1616
## 0.2.7

identity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rand = { version = "0.8", optional = true }
2525
sec1 = { version = "0.7", default-features = false, optional = true }
2626
serde = { version = "1", optional = true, features = ["derive"] }
2727
sha2 = { version = "0.10.8", optional = true }
28-
thiserror = { version = "1.0", optional = true }
28+
thiserror = { workspace = true, optional = true }
2929
zeroize = { version = "1.8", optional = true }
3030

3131
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

libp2p/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ libp2p-webtransport-websys = { workspace = true, optional = true }
122122
libp2p-yamux = { workspace = true, optional = true }
123123
multiaddr = { workspace = true }
124124
pin-project = "1.0.0"
125-
thiserror = "1.0"
125+
thiserror = { workspace = true }
126126

127127
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
128128
libp2p-dns = { workspace = true, optional = true }

misc/quick-protobuf-codec/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["asynchronous"]
1313
[dependencies]
1414
asynchronous-codec = { workspace = true }
1515
bytes = { version = "1" }
16-
thiserror = "1.0"
16+
thiserror = { workspace = true }
1717
unsigned-varint = { workspace = true, features = ["std"] }
1818
quick-protobuf = "0.8"
1919

misc/webrtc-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ quick-protobuf-codec = { workspace = true }
2323
rand = "0.8"
2424
serde = { version = "1.0", features = ["derive"] }
2525
sha2 = "0.10.8"
26-
thiserror = "1"
26+
thiserror = { workspace = true }
2727
tinytemplate = "1.2"
2828
tracing = { workspace = true }
2929

muxers/yamux/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ categories = ["network-programming", "asynchronous"]
1414
either = "1"
1515
futures = { workspace = true }
1616
libp2p-core = { workspace = true }
17-
thiserror = "1.0"
17+
thiserror = { workspace = true }
1818
yamux012 = { version = "0.12.1", package = "yamux" }
1919
yamux013 = { version = "0.13.3", package = "yamux" }
2020
tracing = { workspace = true }

0 commit comments

Comments
 (0)