Commit Graph

92 Commits

Author SHA1 Message Date
est31 29d37aa6d8 Don't assume representation of SocketAddr 2021-01-28 09:53:42 +01:00
Dirkjan Ochtman 51685fb760 Upgrade to tokio 1, bytes 1 and rustls 0.19 2021-01-25 08:53:00 +01:00
Matthias Einwag 115fe2349c GSO platform support
This splits out the platform/socket parts for UDP GSO support
from #953 to reduce the amount of code to review.

This change mainly implements setting the segment size
socket option, and adds a runtime detection mechanism for
GSO support.
2021-01-05 13:42:23 +01:00
Dirkjan Ochtman 120c8157ae Update futures-* to 0.3.8
Prevents security issues in futures older than 0.3.5.

Specifically RUSTSEC-2020-0059 and RUSTSEC-2020-0060.
2020-12-21 14:22:18 -08:00
Dirkjan Ochtman 3b8730d651 Upgrade to directories-next 2 2020-12-21 14:22:18 -08:00
Dirkjan Ochtman 4935f58b25 Update rand to 0.8 2020-12-21 14:22:18 -08:00
Dirkjan Ochtman 1bca0f7c2a Switch from err-derive to thiserror
thiserror is easier to use, has fewer dependencies and is more popular.
2020-10-29 10:45:50 -07:00
kwantam ee6f7d01f2 pin all crates with rustls as transitive dep
this is necessary for export_keying_material to work;
can be undone once rustls pushes a new version of the crates.
2020-09-29 09:35:14 +02:00
Dirkjan Ochtman 5a4d18f837 Upgrade to rustls-0.18 2020-07-05 23:05:33 +02:00
Dirkjan Ochtman 5484d37c76 Migrate to directories-next
directories is no longer being maintained and the final released version
causes a dependency conflict (cfg-if, versus tracing).
2020-06-22 14:46:13 +02:00
Dirkjan Ochtman 73fbb9bdee tracing-subscriber 0.2.5 is required since 77aeb5544 2020-06-04 22:36:09 +02:00
Benjamin Saunders 6ac08773a6 Update libc 2020-05-08 07:09:25 +02:00
Dirkjan Ochtman eeac018bd9 Update license to proper SPDX expression
From the Cargo docs:

"Previously multiple licenses could be separated with a /,
but that usage is deprecated."

https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
2020-05-04 09:14:22 -07:00
Benjamin Saunders 92042be56d Bump versions 2020-03-31 12:51:41 -07:00
Benjamin Saunders e0319215b7 Lighten tracing-subscriber
Omitting json logging gets serde out of our dev-dependency closure
2020-03-31 13:20:30 +02:00
Benjamin Saunders 0a62e093a6 Replace criterion with bencher 2020-03-31 13:20:30 +02:00
Benjamin Saunders 8aa6066103 Remove obsolete azure pipelines badge 2020-03-14 22:16:33 +01:00
Dirkjan Ochtman 67f448c553 Bump rcgen to 0.8 to avoid duplicate dependency 2020-03-12 19:23:52 +01:00
Dirkjan Ochtman 31eef2910c Bump quinn/quinn-proto versions to 0.6.0 2020-03-12 19:23:52 +01:00
Benjamin Saunders 7a3b4559bb Disable IP fragmentation on Linux 2020-03-08 12:04:26 -07:00
Dirkjan Ochtman 6cca808d14 Make rustls an optional dependency for quinn 2020-03-07 12:12:01 -08:00
Dirkjan Ochtman 7253fe892e Move TLS client config defaults into quinn-proto
The default client config setup contains low-level rustls code that is
better off in quinn-proto. This also makes the OS store roots and
certificate transparency easily available to quinn-proto users, and
makes it easy to use them by using Cargo-level features.
2020-03-07 12:12:01 -08:00
Dirkjan Ochtman 752693e4d0 Depend on latest err-derive to prevent issues with newer quote 2020-03-05 13:26:59 -08:00
Dirkjan Ochtman 33990db1d5 Upgrade to rustls 0.17 2020-02-24 22:30:07 +01:00
dependabot-preview[bot] 147588db31 Update tracing-subscriber requirement from 0.1.5 to 0.2.0
Updates the requirements on [tracing-subscriber](https://github.com/tokio-rs/tracing) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.1.5...tracing-subscriber-0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 22:00:55 -08:00
Benjamin Saunders 566c8139ae Update rustls-native-certs
Improves robustness to certificate stores containing unsupported or
invalid data.
2020-01-27 08:30:24 +01:00
Benjamin Saunders 5f81b5cf31 Enable tokio feature required for tokio::spawn 2020-01-16 09:15:31 +01:00
Benjamin Saunders 5774071b48 Spawn driver tasks implicitly 2020-01-13 09:54:26 +01:00
Benjamin Saunders 9a9d940e81 Simplify connection example 2020-01-13 08:54:04 +01:00
Dirkjan Ochtman e6498db8df Force tokio update to deal with deadlock issue 2019-12-22 22:21:49 +01:00
dependabot-preview[bot] b7fbe25fec Update tracing-futures requirement from 0.1.0 to 0.2.0
Updates the requirements on [tracing-futures](https://github.com/tokio-rs/tracing) to permit the latest version.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-futures-0.1.0...tracing-futures-0.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-04 11:07:51 +01:00
Dirkjan Ochtman c555eef59d Bump version numbers to 0.5.0 2019-12-03 09:09:27 -08:00
Dirkjan Ochtman a72ab73614 Sort dependencies again 2019-12-02 08:00:26 -08:00
daxpedda 7233455078 Update tokio, futures and bytes. (#528) 2019-12-02 10:42:05 +01:00
Benjamin Saunders 4902bfe6ba Use anyhow instead of failure in examples
Anyhow was already in our depgraph and is more modern and actively
maintained.
2019-11-19 11:46:43 -08:00
Benjamin Saunders 76875b7af5 Remove lingering uses of FNV hashing 2019-11-16 15:12:35 -08:00
Benjamin Saunders d7e43be6dd Replace webpki-roots with optional native certificate store use 2019-11-16 21:58:49 +01:00
Benjamin Saunders a957bf4aa2 Replace slog with tracing 2019-10-29 10:36:50 +01:00
dependabot-preview[bot] 89cd5d06e5 Update webpki-roots requirement from 0.17 to 0.18
Updates the requirements on [webpki-roots](https://github.com/ctz/webpki-roots) to permit the latest version.
- [Release notes](https://github.com/ctz/webpki-roots/releases)
- [Commits](https://github.com/ctz/webpki-roots/compare/v/0.17.0...v/0.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 07:39:19 +02:00
Dirkjan Ochtman afc18262af Upgrade to err-derive 0.2 2019-10-09 09:09:54 +02:00
Benjamin Saunders 82b9455caf Use multithreaded tokio runtime for server example
Illustrates our support for more typical tokio patterns
2019-09-28 10:23:26 +02:00
Benjamin Saunders d07dc907ad Update for async/await 2019-09-28 10:23:26 +02:00
dependabot-preview[bot] 0fd2419e0f Update rcgen requirement from 0.6 to 0.7
Updates the requirements on [rcgen](https://github.com/est31/rcgen) to permit the latest version.
- [Release notes](https://github.com/est31/rcgen/releases)
- [Changelog](https://github.com/est31/rcgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/est31/rcgen/compare/v0.6.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-15 22:17:20 -07:00
dependabot-preview[bot] 37de74603c Update rcgen requirement from 0.5 to 0.6
Updates the requirements on [rcgen](https://github.com/est31/rcgen) to permit the latest version.
- [Release notes](https://github.com/est31/rcgen/releases)
- [Changelog](https://github.com/est31/rcgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/est31/rcgen/compare/v0.5.0...v0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-13 07:01:56 +02:00
dependabot-preview[bot] 7326d2ef33 Update structopt requirement from 0.2.7 to 0.3.0
Updates the requirements on [structopt](https://github.com/TeXitoi/structopt) to permit the latest version.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.2.7...v0.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 07:05:29 +02:00
Dirkjan Ochtman a6cc48a23b Upgrade to ring 0.16 2019-08-27 07:57:50 -07:00
Benjamin Saunders d7109327e7 Remove dead dependency 2019-08-26 07:08:51 +02:00
Dirkjan Ochtman b70e939893 Upgrade to criterion 0.3 2019-08-25 13:29:44 -07:00
Dirkjan Ochtman 01b9d212be Upgrade to url 2 2019-07-24 21:29:48 +02:00
Dirkjan Ochtman d2ddc4aede Use different project for Azure Pipelines
In the initial setup, I skimmed too fast over the paragraph that stated that
Azure DevOps projects must be aligned to GitHub organizations/users. Since
I want to use Azure Pipelines for other projects, too, I've reorganized the
setup a bit, which means the badge links need to be updated.
2019-07-22 07:36:43 -07:00