Commit Graph

35 Commits

Author SHA1 Message Date
XOR-op
2d94faf1ba change interface 2023-03-04 11:03:13 -08:00
XOR-op
3410e9e95a fix compile errors 2023-03-04 11:03:13 -08:00
XOR-op
03af149076 fix clippy and compile errors 2023-03-04 11:03:13 -08:00
XOR-op
63a1f7692e test: fix compile errors 2023-03-04 11:03:13 -08:00
XOR-op
74bdef0d9a replace ConnProvider with RuntimeProvider 2023-03-04 11:03:13 -08:00
XOR-op
3e9892d18a WIP: narrow UdpSocket down to DnsUdpSocket 2023-03-04 11:03:13 -08:00
XOR-op
53bf976f00 WIP: many underlying type except mdns 2023-03-04 11:03:13 -08:00
Wiktor Kwapisiewicz
35683e49b3 doc: Fix warnings reported by cargo doc
Adjust links so that they are rendered clickable and fix the escaping of
Markdown reference for IPv6 localhost.
2022-07-12 07:20:10 -07:00
Benjamin Fry
e712a2c031 disable actual UDP connecting logic, this causes an odd issue, and not strictly necessary 2022-04-07 13:23:18 -07:00
Benjamin Fry
eec06fce54 fix cleanliness of quic impls 2022-04-07 13:23:18 -07:00
Benjamin Fry
eb61a9b296 api for quic client streams implemented 2022-04-07 13:23:18 -07:00
Benjamin Fry
95b2dee327 add clippy::use_self for cleanliness 2022-02-17 19:47:32 -08:00
Benjamin Fry
b4bc3552bd Warn on default trait usage 2022-02-17 19:47:32 -08:00
Sebastian Urban
6ef9b4ec4a Configuration of bind address for resolver.
Allows configuration of the local address that is used by the resolver.
This is useful if the system has multiple active network connections
and it is desirable to specify which interface is used for name
resolution.
2022-01-04 14:57:50 -08:00
Benjamin Fry
0e8e1b7bc9 Ensure doc tests are run in CI 2021-08-02 21:32:27 +02:00
Benjamin Fry
926f286c0a Fixup documentation for Signer 2021-05-30 14:57:51 -07:00
Benjamin Fry
6fcc72acca Make all warnings across crates and binaries consistent 2021-03-08 15:34:26 -08:00
Roman S. Borschel
ec8f83911c Re-export AsyncStdConnection(Provider) 2021-01-14 11:40:31 -08:00
Benjamin Fry
a1c4cdc962 make SocketAddr copy rather than pass by ref 2020-11-28 20:38:00 -08:00
Benjamin Fry
ec1513c59a add native async fn methods to async-std UdpSocket 2020-11-28 20:38:00 -08:00
Benjamin Fry
ecaf8c92d5 change UdpSocket to have Poll based methods 2020-11-28 20:38:00 -08:00
Benjamin Fry
a516f38b61 fix clippy warnings 2020-11-28 20:38:00 -08:00
Dirkjan Ochtman
025f62640f attach associated type Time to UdpSocket trait 2020-10-16 13:24:45 -07:00
Dirkjan Ochtman
c4d254b49b define DnsTcpStream supertrait for Connect 2020-10-16 13:24:45 -07:00
Dirkjan Ochtman
ab46adcc09 associate Time type with Connect trait 2020-10-16 13:24:45 -07:00
Dirkjan Ochtman
4ee7ffadfd explicitly make Connect implement the Transport 2020-10-16 13:24:45 -07:00
Dirkjan Ochtman
3c0158a9d0 disable Nagle's algorithm for TCP connections 2020-10-15 22:35:20 +02:00
Dirkjan Ochtman
24512f63a5 limit futures dependencies to what is necessary 2020-10-13 07:58:06 -07:00
Dirkjan Ochtman
b75c4dd47e spawn connection futures directly onto runtime 2020-09-30 11:09:40 -07:00
Benjamin Fry
248fd8709b make errors generic in DnsHandle for Resolver 2020-09-15 15:27:44 -07:00
Benjamin Fry
2710b9f4f4 Fully support *ring* for all DNSSEC operations. (#1145)
* add more debug information to DNSSEC validation

* update ring validation to allow 1024bit keys for all Algorithm types

* disable dnssec tests in std builds

* ensure TrustAnchor is constructed properly in DnsSecSyncClient

* add key length to DNSKEY display
2020-06-23 10:46:22 -07:00
Johnny Bergström
2502c58c14 use RuntimeProvider in https (#1077)
* logger: missing https crate

* https: use RuntimeProvider when making connections

- [X] use RuntimeProvider when making TCP connections
- [ ] use RuntimeProvider when making TLS upgrades
- [ ] migrate tests

* RuntimeProvider::Tcp: remove async read/write

The TCP needs to Connect, the async readwriter will be in the
transport of connect. Thus we don't need it to be a requirement
on the top trait of RuntimeProvider

* AsyncResolver: remove async from new()

Related to overriding RuntimeProvider for #1074

Solves #1056

* cleanup tests

* rebase master for 0.19.5

* fix windows tests

Co-authored-by: Benjamin Fry <benjaminfry@me.com>
2020-05-02 11:18:50 -07:00
Benjamin Fry
4a730dd75c fix readme documentation for async-std, remove tokio references 2020-04-12 11:51:42 -07:00
Benjamin Fry
e6902f7a57 cleanup some feature based build params 2020-04-11 13:51:52 -07:00
Benjamin Fry
fd356c258b port over all tests 2020-04-11 13:51:52 -07:00