Commit Graph

2692 Commits

Author SHA1 Message Date
66cdcc6339 deps: bump url from 2.4.0 to 2.4.1
Pull-Request: #4431.
2023-09-04 01:50:24 +00:00
51425d524b ci: replace home-grow cargo semver-checks action
This PR replaces our home-grown `cargo semver-checks` action with the official one: https://github.com/obi1kenobi/cargo-semver-checks-action/issues/47.

This action has support for cargo workspaces and will automatically check all crates that have `publish` set to `true`. This removes a big time component for our CI checks and introduces one that runs in parallel with all others. I hope to reduce the effective CI time through that, plus it means we need to maintain less code.

The official action would download the latest release of cargo-semver-checks. This might result in a non-reproducible CI. To avoid this, we retain the one-line download statement from our home-grown action.

Pull-Request: #3923.
2023-09-04 00:39:09 +00:00
955da49f26 deps: bump tower-http from 0.4.3 to 0.4.4
Pull-Request: #4434.
2023-09-03 18:21:26 +00:00
51ebaaf238 deps: bump rustls from 0.21.6 to 0.21.7
Pull-Request: #4429.
2023-09-03 13:20:58 +00:00
7fd785e087 ci: add dependency group for trust-dns deps
This should instruct dependabot to update all these dependencies in a single PR.

Pull-Request: #4413.
2023-09-03 12:40:48 +00:00
b9028e8de1 deps: bump reqwest from 0.11.18 to 0.11.20
Pull-Request: #4405.
2023-09-01 00:42:19 +00:00
915c4ad6b4 ci: don't test for semver violation for libp2p-server binary crate
Pull-Request: #4416.
2023-08-31 12:04:35 +00:00
96213b37c6 fix(misc/server): adhere to --metrics-path and listen on 0.0.0.0:8888
This commit reverts the previous metrics behavior. Namely:

- adhering to --metrics-path flag
- listening on 0.0.0.0:8888 instead of 127.0.0.1:8080

Note that 8888 is the default IPFS debug (aka. metrics) port.

See https://github.com/mxinden/rust-libp2p-server/blob/master/src/metric_server.rs for previous behavior.

Pull-Request: #4392.
2023-08-30 14:39:07 +00:00
e36e8ce445 deps: bump serde from 1.0.185 to 1.0.188
Pull-Request: #4398.
2023-08-28 08:41:54 +00:00
c6984dd51d ci: do not tolerate rustc warnings in any job
Previously, only the clippy job was denying warnings. We have many other CI jobs that compile our library in all sorts of configurations. All of them should be free of warnings.

Pull-Request: #4384.
2023-08-25 10:14:01 +00:00
9946890b53 fix(misc/server): import libp2p as workspace dependency
One needs to specify a version of `libp2p` dependeny in `misc/server/Cargo.toml` or import as a workspace dependency, in order to publish to crates.io.

This commit does the latter for the sake of consistency with the other libp2p-* dependencies.

Pull-Request: #4391.
2023-08-25 08:44:15 +00:00
f265f39e70 fix(misc/server): add repository URL to Cargo.toml
Pull-Request: #4390.
2023-08-24 16:10:34 +00:00
e8759c85c2 chore: prepare libp2p v0.52.3
- Addresses TLS CVE:
- https://github.com/libp2p/rust-libp2p/pull/4381
- https://github.com/libp2p/rust-libp2p/pull/4378
- Stable QUIC https://github.com/libp2p/rust-libp2p/pull/4325
- New rust-libp2p-server release https://github.com/libp2p/rust-libp2p/pull/4311

Pull-Request: #4387.
2023-08-24 12:47:59 +00:00
06bc6777a1 chore: fix lint warnings introduced by beta clippy
Pull-Request: #4386.
2023-08-24 12:27:42 +00:00
4284caeef0 deps: bump Swatinem/rust-cache from 2.6.1 to 2.6.2
Pull-Request: #4366.
2023-08-24 08:31:35 +00:00
240c5c292a deps(tls): switch from webpki to rustls-webpki
A simple dependency update to make the CVE detector happy.
Continuation of #4378.

Pull-Request: #4381.
2023-08-24 07:46:35 +00:00
3bce9ebddf refactor(identity): fix clippy beta lint
From the lint documentation:

> If both `PartialOrd` and `Ord` are implemented, they must agree. This is commonly done by wrapping the result of `cmp` in `Some` for `partial_cmp`. Not doing this may silently introduce an error upon refactoring.

Pull-Request: #4379.
2023-08-24 06:01:19 +00:00
54fa53af39 fix(interop/WASM): use selenium/standalone-chrome:115.0
Our WASM Webtransport interoperability tests previously used Chrome 112. This Chrome version fails to connect to go-libp2p with quic-go v0.38.0. See https://github.com/libp2p/go-libp2p/pull/2506 for failure. This is due to quic-go v0.38.0 moving to the updated code point for HTTP datagrams. See https://github.com/quic-go/quic-go/pull/3588 for details.

This commit upgrades our interop tests to use Chrome 115.

Pull-Request: #4383.
2023-08-23 19:21:49 +00:00
dc0a12384e deps(websocket): bump futures-rustls to 0.24.0
A simple dependency update to make the CVE detector happy.

Pull-Request: #4378.
2023-08-23 13:34:49 +00:00
cf20a5343b deps: bump docker/build-push-action from 3 to 4
Pull-Request: #4373.
2023-08-23 12:18:52 +00:00
758e3d251f deps: bump rustls-webpki from 0.101.2 to 0.101.4
Pull-Request: #4374.
2023-08-22 18:31:06 +00:00
e974efb755 feat: add rust-libp2p-server to monorepo
Moves https://github.com/mxinden/rust-libp2p-server to the rust-libp2p monorepository.

> # Rust libp2p Server
>
> A rust-libp2p based server implementation running:
>
> - the [Kademlia protocol](https://github.com/libp2p/specs/tree/master/kad-dht)
>
> - the [Circuit Relay v2 protocol](https://github.com/libp2p/specs/blob/master/relay/circuit-v2.md)
>
> - the [AutoNAT protocol](https://github.com/libp2p/specs/blob/master/autonat/README.md)

Pull-Request: #4311.
2023-08-21 18:49:42 +00:00
72472d075f deps: bump curve25519-dalek from 3.2.0 to 4.0.0
Pull-Request: #4358.
2023-08-21 14:52:24 +00:00
181ccf624d deps: bump tempfile from 3.7.1 to 3.8.0
Pull-Request: #4364.
2023-08-21 14:23:40 +00:00
1d6d016641 deps: bump serde from 1.0.183 to 1.0.185
Pull-Request: #4363.
2023-08-21 14:03:51 +00:00
82df2b8eb3 deps: bump anyhow from 1.0.72 to 1.0.75
Pull-Request: #4362.
2023-08-21 11:32:30 +00:00
eb83367430 deps: bump clap from 4.3.21 to 4.3.23
Pull-Request: #4359.
2023-08-21 09:37:15 +00:00
76797f8ad0 deps: bump tokio from 1.31.0 to 1.32.0
Pull-Request: #4356.
2023-08-21 09:16:26 +00:00
3958803043 deps: bump syn from 2.0.28 to 2.0.29
Pull-Request: #4353.
2023-08-21 08:57:03 +00:00
8050db7774 deps: bump flate2 from 1.0.26 to 1.0.27
Pull-Request: #4354.
2023-08-21 08:38:24 +00:00
b617e978de refactor(.github): run cargo-deny on every pull request
Allows us to make `cargo-deny` job required.

See original discussion https://github.com/libp2p/rust-libp2p/pull/4328#issuecomment-1684333461.

Pull-Request: #4352.
2023-08-21 08:13:55 +00:00
608e2dbb19 deps: bump serde_json from 1.0.104 to 1.0.105
Pull-Request: #4347.
2023-08-19 22:41:44 +00:00
68befac486 deps: bump rcgen from 0.9.3 to 0.10.0
Pull-Request: #3519.
2023-08-19 06:39:55 +00:00
3b58454340 deps: bump trybuild from 1.0.82 to 1.0.83
Pull-Request: #4346.
2023-08-19 01:46:27 +00:00
d9a09b12a6 deps: bump rustls from 0.21.5 to 0.21.6
Pull-Request: #4299.
2023-08-19 01:07:48 +00:00
4873f3a7f1 deps: bump quinn from 0.10.1 to 0.10.2
Pull-Request: #4298.
2023-08-19 00:48:03 +00:00
17901b6061 deps: bump tempfile from 3.7.0 to 3.7.1
Pull-Request: #4300.
2023-08-19 00:28:58 +00:00
11b5801b95 deps: bump sysinfo from 0.29.7 to 0.29.8
Pull-Request: #4323.
2023-08-19 00:09:40 +00:00
9ed23a7c25 deps: bump redis from 0.23.1 to 0.23.2
Pull-Request: #4324.
2023-08-18 23:48:36 +00:00
d3da24f312 deps: bump pin-project from 1.1.2 to 1.1.3
Pull-Request: #4296.
2023-08-18 21:29:40 +00:00
ffdd8125b3 docs(readme): add taple to notable users
Request to add [TAPLE](https://www.taple.es) Project to rust-libp2p notable users. TAPLE is a permissioned DLT solution for traceability of assets and processes. We use libp2p for the network layer.

Pull-Request: #4309.
2023-08-18 20:16:02 +00:00
bf7fe680ac refactor(tcp): reducing branching in Transport::create_socket
Following https://github.com/libp2p/rust-libp2p/pull/4289#discussion_r1285812762, hereby is the PR to also improve the `create_socket`  using [`for_addr`](https://docs.rs/socket2/latest/socket2/struct.Domain.html#method.for_address). We also add a test for listening on IPv4 and IPv6 separately.

Pull-Request: #4328.
2023-08-18 19:30:14 +00:00
08292c567e docs: remove archived ursa project from README
Pull-Request: #4340.
2023-08-18 18:40:42 +00:00
16b2f1563d chore: use workspace rust-version
Pull-Request: #4344.
2023-08-18 09:02:22 +00:00
fb61697390 deps(identity): update ed25519-dalek to 2.0
Pull-Request: #4337.
2023-08-18 10:03:22 +02:00
cbdbaa836e feat(quic): promote to stable release
- Cut a stable release of `libp2p-quic`.
- Export `libp2p-quic` as `libp2p::quic`.
- Update examples to use `libp2p-quic` through `libp2p`.

Pull-Request: #4325.
2023-08-17 07:54:29 +00:00
2c4c961d69 deps: bump log from 0.4.19 to 0.4.20
Pull-Request: #4322.
2023-08-14 10:16:13 +00:00
a648b273b2 deps: bump webpki-roots from 0.25.1 to 0.25.2
Pull-Request: #4320.
2023-08-14 09:57:25 +00:00
c2648d775a deps: bump async-trait from 0.1.72 to 0.1.73
Pull-Request: #4321.
2023-08-14 09:38:56 +00:00
8022769daf deps: bump clap from 4.3.19 to 4.3.21
Pull-Request: #4319.
2023-08-14 09:20:07 +00:00