2672 Commits

Author SHA1 Message Date
dependabot[bot]
758e3d251f
deps: bump rustls-webpki from 0.101.2 to 0.101.4
Pull-Request: #4374.
2023-08-22 18:31:06 +00:00
Max Inden
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
dependabot[bot]
72472d075f
deps: bump curve25519-dalek from 3.2.0 to 4.0.0
Pull-Request: #4358.
2023-08-21 14:52:24 +00:00
dependabot[bot]
181ccf624d
deps: bump tempfile from 3.7.1 to 3.8.0
Pull-Request: #4364.
2023-08-21 14:23:40 +00:00
dependabot[bot]
1d6d016641
deps: bump serde from 1.0.183 to 1.0.185
Pull-Request: #4363.
2023-08-21 14:03:51 +00:00
dependabot[bot]
82df2b8eb3
deps: bump anyhow from 1.0.72 to 1.0.75
Pull-Request: #4362.
2023-08-21 11:32:30 +00:00
dependabot[bot]
eb83367430
deps: bump clap from 4.3.21 to 4.3.23
Pull-Request: #4359.
2023-08-21 09:37:15 +00:00
dependabot[bot]
76797f8ad0
deps: bump tokio from 1.31.0 to 1.32.0
Pull-Request: #4356.
2023-08-21 09:16:26 +00:00
dependabot[bot]
3958803043
deps: bump syn from 2.0.28 to 2.0.29
Pull-Request: #4353.
2023-08-21 08:57:03 +00:00
dependabot[bot]
8050db7774
deps: bump flate2 from 1.0.26 to 1.0.27
Pull-Request: #4354.
2023-08-21 08:38:24 +00:00
Max Inden
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
dependabot[bot]
608e2dbb19
deps: bump serde_json from 1.0.104 to 1.0.105
Pull-Request: #4347.
2023-08-19 22:41:44 +00:00
dependabot[bot]
68befac486
deps: bump rcgen from 0.9.3 to 0.10.0
Pull-Request: #3519.
2023-08-19 06:39:55 +00:00
dependabot[bot]
3b58454340
deps: bump trybuild from 1.0.82 to 1.0.83
Pull-Request: #4346.
2023-08-19 01:46:27 +00:00
dependabot[bot]
d9a09b12a6
deps: bump rustls from 0.21.5 to 0.21.6
Pull-Request: #4299.
2023-08-19 01:07:48 +00:00
dependabot[bot]
4873f3a7f1
deps: bump quinn from 0.10.1 to 0.10.2
Pull-Request: #4298.
2023-08-19 00:48:03 +00:00
dependabot[bot]
17901b6061
deps: bump tempfile from 3.7.0 to 3.7.1
Pull-Request: #4300.
2023-08-19 00:28:58 +00:00
dependabot[bot]
11b5801b95
deps: bump sysinfo from 0.29.7 to 0.29.8
Pull-Request: #4323.
2023-08-19 00:09:40 +00:00
dependabot[bot]
9ed23a7c25
deps: bump redis from 0.23.1 to 0.23.2
Pull-Request: #4324.
2023-08-18 23:48:36 +00:00
dependabot[bot]
d3da24f312
deps: bump pin-project from 1.1.2 to 1.1.3
Pull-Request: #4296.
2023-08-18 21:29:40 +00:00
Yeray Rodriguez
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
João Oliveira
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
Prithvi Shahi
08292c567e
docs: remove archived ursa project from README
Pull-Request: #4340.
2023-08-18 18:40:42 +00:00
Max Inden
16b2f1563d
chore: use workspace rust-version
Pull-Request: #4344.
2023-08-18 09:02:22 +00:00
João Oliveira
fb61697390
deps(identity): update ed25519-dalek to 2.0
Pull-Request: #4337.
2023-08-18 10:03:22 +02:00
Max Inden
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
dependabot[bot]
2c4c961d69
deps: bump log from 0.4.19 to 0.4.20
Pull-Request: #4322.
2023-08-14 10:16:13 +00:00
dependabot[bot]
a648b273b2
deps: bump webpki-roots from 0.25.1 to 0.25.2
Pull-Request: #4320.
2023-08-14 09:57:25 +00:00
dependabot[bot]
c2648d775a
deps: bump async-trait from 0.1.72 to 0.1.73
Pull-Request: #4321.
2023-08-14 09:38:56 +00:00
dependabot[bot]
8022769daf
deps: bump clap from 4.3.19 to 4.3.21
Pull-Request: #4319.
2023-08-14 09:20:07 +00:00
dependabot[bot]
a4b8ff4673
deps: bump tokio from 1.29.1 to 1.31.0
Pull-Request: #4318.
2023-08-14 09:00:31 +00:00
dependabot[bot]
b265ed2d03
deps: bump Swatinem/rust-cache from 2.6.0 to 2.6.1
Pull-Request: #4317.
2023-08-14 08:21:15 +00:00
Doug A
01e7353d04
docs(roadmap): update to reflect ongoing wasm browser work
Update ROADMAP to reflect in-progress works

Pull-Request: #4315.
2023-08-12 09:02:47 +00:00
Max Inden
8e00d1244c
fix(swarm): import libp2p-yamux dev-dependency via path
Follow-up to https://github.com/libp2p/rust-libp2p/pull/4091.

Pull-Request: #4314.
2023-08-11 15:13:33 +00:00
Arsenii Ronzhyn
79aca371d1
fix(quic): add support for reusing an existing socket for local dialing
Tracked in #4259. Now if a listener supports loopback interfaces, when a remote address is also a loopback address, we reuse an existing listener.

Pull-Request: #4304.
2023-08-11 12:14:37 +00:00
Max Inden
5a8eb793fe
chore: prepare libp2p v0.52.2
Pull-Request: #4312.
2023-08-11 10:10:42 +00:00
dependabot[bot]
da94dcb23b
chore(deps): bump github.com/libp2p/go-libp2p from 0.27.5 to 0.27.8 in /wasm-tests/webtransport-tests/echo-server
Pull-Request: #4308.
2023-08-09 13:48:20 +00:00
João Oliveira
02dc432227
fix(quic): allow listening on ipv4 and ipv6 separately
Resolves #4165.

Pull-Request: #4289.
2023-08-08 16:48:08 +00:00
hanabi1224
b5d993267f
feat: memory based connection limits
Implements memory-based connection limits where the user can specify an absolute or a relative limit of the process' memory usage in relation to the available system memory.

Related: #4252.

Pull-Request: #4281.
2023-08-08 16:29:21 +00:00
dependabot[bot]
188b70eaf0
deps: bump r7kamura/rust-problem-matchers from 1.3.0 to 1.4.0
Pull-Request: #4303.
2023-08-08 09:10:58 +00:00
Max Inden
8937105e07
docs(roadmap): fix headings, update str0m, webtransport, autonatv2 & address pipeline
Pull-Request: #4292.
2023-08-07 13:19:08 +00:00
dependabot[bot]
6478fafc70
deps: bump x509-parser from 0.15.0 to 0.15.1
Pull-Request: #4297.
2023-08-07 10:47:47 +00:00
dependabot[bot]
925243243c
deps: bump axum from 0.6.19 to 0.6.20
Pull-Request: #4301.
2023-08-07 10:31:38 +00:00
shamil-gadelshin
e65155281e
fix(kad): reduce noise of "remote supports our protocol" log
This PR changes the logging of the Kademlia connection handler related to the remote Kademlia mode changes:
- Downgrade log level for the remote kademlia protocol report from `info` to `debug`.
- Introduce connection_id for the handler to improve logging.

Pull-Request: #4278.
2023-08-07 09:31:15 +00:00
dependabot[bot]
72fd50ae6c
deps: bump serde from 1.0.179 to 1.0.183
Pull-Request: #4294.
2023-08-07 09:14:58 +00:00
dependabot[bot]
1278161603
deps: bump regex from 1.9.1 to 1.9.3
Pull-Request: #4295.
2023-08-07 08:35:57 +00:00
Akihito Nakano
f95f39f634
feat(gossipsub): add getter function to obtain TopicScoreParams
Added a getter function to obtain `TopicScoreParams`. I need this function for testing which checks if scoring parameters are updated as expected.

Pull-Request: #4231.
2023-08-03 15:19:25 +00:00
dependabot[bot]
4b9c1e5e48
deps: bump Swatinem/rust-cache from 2.5.1 to 2.6.0
Pull-Request: #4288.
2023-08-03 09:22:47 +00:00
Thomas Eizinger
cb8a92026a
deps(yamux): update yamux to v0.12
Pull-Request: #3013.
2023-08-02 15:02:54 +00:00
quininer
37d57f41de
fix(relay): remove unconditional async-std dependency
`libp2p-relay` crate specifies the `libp2p-swarm/async-std` feature, which causes an `async-std` dependency to always be introduced.

Pull-Request: #4283.
2023-08-02 13:46:27 +00:00