Skip to content

Commit 6e7df09

Browse files
committed
core/use weak dependencies + Rust 1.60.0 (libp2p#2286)
1 parent 3611d69 commit 6e7df09

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,13 @@
4343

4444
# `libp2p` facade crate
4545

46-
# 0.45.0
46+
# 0.45.1
47+
- Semver bump Rust from `1.56.1` to `1.60.0` . See [PR 2646].
48+
- Added weak dependencies for features. See [PR 2646].
49+
50+
[PR 2646]: https://github.com/libp2p/rust-libp2p/pull/2646
4751

52+
# 0.45.0
4853
- Update individual crates.
4954
- Update to [`libp2p-plaintext` `v0.33.0`](transports/plaintext/CHANGELOG.md).
5055
- Update to [`libp2p-noise` `v0.36.0`](transports/noise/CHANGELOG.md).

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "libp2p"
33
edition = "2021"
4-
rust-version = "1.56.1"
4+
rust-version = "1.60.0"
55
description = "Peer-to-peer networking library"
66
version = "0.45.0"
77
authors = ["Parity Technologies <[email protected]>"]
@@ -36,22 +36,22 @@ default = [
3636
"yamux",
3737
]
3838
autonat = ["libp2p-autonat"]
39-
dcutr = ["libp2p-dcutr", "libp2p-metrics/dcutr"]
39+
dcutr = ["libp2p-dcutr", "libp2p-metrics?/dcutr"]
4040
deflate = ["libp2p-deflate"]
4141
dns-async-std = ["libp2p-dns", "libp2p-dns/async-std"]
4242
dns-tokio = ["libp2p-dns", "libp2p-dns/tokio"]
4343
floodsub = ["libp2p-floodsub"]
44-
identify = ["libp2p-identify", "libp2p-metrics/identify"]
45-
kad = ["libp2p-kad", "libp2p-metrics/kad"]
46-
gossipsub = ["libp2p-gossipsub", "libp2p-metrics/gossipsub"]
44+
identify = ["dep:libp2p-identify", "libp2p-metrics?/identify"]
45+
kad = ["libp2p-kad", "libp2p-metrics?/kad"]
46+
gossipsub = ["libp2p-gossipsub", "libp2p-metrics?/gossipsub"]
4747
metrics = ["libp2p-metrics"]
4848
mdns = ["libp2p-mdns"]
4949
mplex = ["libp2p-mplex"]
5050
noise = ["libp2p-noise"]
51-
ping = ["libp2p-ping", "libp2p-metrics/ping"]
51+
ping = ["dep:libp2p-ping", "libp2p-metrics?/ping"]
5252
plaintext = ["libp2p-plaintext"]
5353
pnet = ["libp2p-pnet"]
54-
relay = ["libp2p-relay", "libp2p-metrics/relay"]
54+
relay = ["dep:libp2p-relay", "libp2p-metrics?/relay"]
5555
request-response = ["libp2p-request-response"]
5656
rendezvous = ["libp2p-rendezvous"]
5757
tcp-async-io = ["libp2p-tcp", "libp2p-tcp/async-io"]

0 commit comments

Comments
 (0)