Skip to content

Commit 4ff2ec7

Browse files
apollo_quic_datagrams
1 parent 8d36be0 commit 4ff2ec7

File tree

15 files changed

+2755
-2
lines changed

15 files changed

+2755
-2
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ members = [
6666
"crates/apollo_proc_macros_tests",
6767
"crates/apollo_propeller",
6868
"crates/apollo_protobuf",
69+
"crates/apollo_quic_datagrams",
6970
"crates/apollo_reverts",
7071
"crates/apollo_rpc",
7172
"crates/apollo_rpc_execution",
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
## 0.13.0
2+
3+
- Remove `async-std` support.
4+
See [PR 5954](https://github.com/libp2p/rust-libp2p/pull/5954)
5+
6+
- Deprecate `Config::support_draft_29`.
7+
See [PR 5786](https://github.com/libp2p/rust-libp2p/pull/5786).
8+
9+
## 0.12.0
10+
11+
<!-- Update to libp2p-core v0.43.0 -->
12+
13+
## 0.11.1
14+
15+
- Update `libp2p-tls` to version `0.5.0`, see [PR 5547]
16+
17+
[PR 5547]: https://github.com/libp2p/rust-libp2p/pull/5547
18+
19+
## 0.11.0
20+
21+
- Implement refactored `Transport`.
22+
See [PR 4568](https://github.com/libp2p/rust-libp2p/pull/4568)
23+
24+
## 0.10.3
25+
26+
- Update `quinn` to 0.11 and `libp2p-tls` to 0.4.0.
27+
See [PR 5316](https://github.com/libp2p/rust-libp2p/pull/5316)
28+
29+
- Allow configuring MTU discovery upper bound.
30+
See [PR 5386](https://github.com/libp2p/rust-libp2p/pull/5386).
31+
32+
## 0.10.2
33+
34+
- Change `max_idle_timeout`to 10s.
35+
See [PR 4965](https://github.com/libp2p/rust-libp2p/pull/4965).
36+
37+
## 0.10.1
38+
39+
- Allow disabling path MTU discovery.
40+
See [PR 4823](https://github.com/libp2p/rust-libp2p/pull/4823).
41+
42+
## 0.10.0
43+
44+
- Improve hole-punch timing.
45+
This should improve success rates for hole-punching QUIC connections.
46+
See [PR 4549](https://github.com/libp2p/rust-libp2p/pull/4549).
47+
- Remove deprecated `Error::EndpointDriverCrashed` variant.
48+
See [PR 4738](https://github.com/libp2p/rust-libp2p/pull/4738).
49+
50+
## 0.9.3
51+
52+
- No longer report error when explicit closing of a QUIC endpoint succeeds.
53+
See [PR 4621].
54+
55+
- Support QUIC stateless resets for supported `libp2p_identity::Keypair`s. See [PR 4554].
56+
57+
[PR 4621]: https://github.com/libp2p/rust-libp2p/pull/4621
58+
[PR 4554]: https://github.com/libp2p/rust-libp2p/pull/4554
59+
60+
## 0.9.2
61+
62+
- Cut stable release.
63+
64+
## 0.9.2-alpha
65+
66+
- Add support for reusing an existing socket when dialing localhost address.
67+
See [PR 4304].
68+
69+
[PR 4304]: https://github.com/libp2p/rust-libp2p/pull/4304
70+
71+
## 0.9.1-alpha
72+
73+
- Allow listening on ipv4 and ipv6 separately.
74+
See [PR 4289].
75+
76+
[PR 4289]: https://github.com/libp2p/rust-libp2p/pull/4289
77+
78+
## 0.9.0-alpha
79+
80+
- Use `quinn` instead of `quinn-proto`.
81+
See [PR 3454].
82+
83+
[PR 3454]: https://github.com/libp2p/rust-libp2p/pull/3454
84+
85+
## 0.8.0-alpha
86+
87+
- Raise MSRV to 1.65.
88+
See [PR 3715].
89+
90+
- Add hole punching support by implementing `Transport::dial_as_listener`. See [PR 3964].
91+
92+
[PR 3715]: https://github.com/libp2p/rust-libp2p/pull/3715
93+
[PR 3964]: https://github.com/libp2p/rust-libp2p/pull/3964
94+
95+
## 0.7.0-alpha.3
96+
97+
- Depend `libp2p-tls` `v0.1.0`.
98+
99+
## 0.7.0-alpha.2
100+
101+
- Update to `libp2p-tls` `v0.1.0-alpha.2`.
102+
103+
- Update to `libp2p-core` `v0.39.0`.
104+
105+
- Add opt-in support for the `/quic` codepoint, interpreted as QUIC version draft-29.
106+
See [PR 3151].
107+
108+
- Wake the transport's task when a new dialer or listener is added. See [3342].
109+
110+
- Discard correct waker upon accepting inbound stream. See [PR 3420].
111+
112+
[PR 3151]: https://github.com/libp2p/rust-libp2p/pull/3151
113+
[PR 3342]: https://github.com/libp2p/rust-libp2p/pull/3342
114+
[PR 3420]: https://github.com/libp2p/rust-libp2p/pull/3420
115+
116+
## 0.7.0-alpha
117+
118+
- Initial alpha release.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[package]
2+
name = "apollo_quic_datagrams"
3+
version = "0.13.0"
4+
authors = ["Parity Technologies <[email protected]>"]
5+
edition.workspace = true
6+
description = "TLS based QUIC transport implementation for libp2p"
7+
repository = "https://github.com/libp2p/rust-libp2p"
8+
license = "MIT"
9+
10+
[dependencies]
11+
futures = { workspace = true }
12+
futures-timer = "3.0.3"
13+
if-watch = "3.2.0"
14+
libp2p = { workspace = true, features = [
15+
"dns",
16+
"gossipsub",
17+
"identify",
18+
"kad",
19+
"macros",
20+
"noise",
21+
"quic",
22+
"serde",
23+
"tcp",
24+
"tls",
25+
"tokio",
26+
"yamux",
27+
] }
28+
quinn = { version = "0.11.6", default-features = false, features = ["futures-io", "rustls"] }
29+
rand = { workspace = true }
30+
rustls = { version = "0.23.9", default-features = false }
31+
thiserror = { workspace = true }
32+
tokio = { workspace = true, features = ["net", "rt", "time"], optional = true }
33+
tracing = { workspace = true }
34+
socket2 = { workspace = true }
35+
ring = "0.17"
36+
37+
[features]
38+
tokio = ["dep:tokio", "if-watch/tokio", "quinn/runtime-tokio"]
39+
40+
# Passing arguments to the docsrs builder in order to properly document cfg's.
41+
# More information: https://docs.rs/about/builds#cross-compiling
42+
[package.metadata.docs.rs]
43+
all-features = true
44+
45+
[dev-dependencies]
46+
libp2p = { workspace = true }
47+
quickcheck = { workspace = true }
48+
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }
49+
tracing-subscriber = { workspace = true, features = ["env-filter"] }
50+
51+
[[test]]
52+
name = "stream_compliance"
53+
required-features = ["tokio"]
54+
55+
[lints]
56+
workspace = true

0 commit comments

Comments
 (0)