Commit Graph

40 Commits

Author SHA1 Message Date
Dirkjan Ochtman e5ffac17b3 Upgrade to tokio-rustls 0.25 2023-12-18 11:08:44 +01:00
Dirkjan Ochtman 01ae10ce53 Apply clippy suggestion 2023-10-25 22:59:40 +02:00
Dirkjan Ochtman d590eb6a6a Make RustlsConnector public again 2023-08-02 16:38:54 +02:00
Dirkjan Ochtman 454e879d08 Use rustls-native-certs as the root store 2023-08-02 15:47:17 +02:00
Dirkjan Ochtman 1eff89bd32 Rename feature to rustls 2023-08-02 15:47:17 +02:00
Dirkjan Ochtman ed73ff546f Fix compilation with --no-default-features 2023-08-02 15:47:17 +02:00
Dirkjan Ochtman c1b118f378 Avoid deprecated rustls API 2023-07-24 11:30:16 +02:00
Rudi Floren b862d49c53
Remove misleading error log line (#22)
At this point, the serialization was successful, but rather the command
status is not a success as per `fn is_success`.
Removing this error log in favor of logging at the call-side.
2023-06-29 15:02:44 +02:00
Dirkjan Ochtman 3829ed77fa Switch from quick-xml to instant-xml 2023-02-28 17:04:58 +01:00
Dirkjan Ochtman 46d23efacd Log offending XML on deserialization failure 2023-02-21 19:55:15 +01:00
Dirkjan Ochtman 75f466c1ce Update to 2021 edition 2022-12-14 19:41:48 +01:00
Dirkjan Ochtman eab64aa740 Look up server IP address on every connect 2022-12-14 19:41:48 +01:00
Dirkjan Ochtman 698bab9b2b Reduce Error type size by boxing result state 2022-11-29 22:43:10 +08:00
Dirkjan Ochtman ca19e545fd Flatten XML abstraction 2022-03-22 16:47:12 +08:00
Dirkjan Ochtman 3f91647370 Move response deserialization into client 2022-03-22 16:47:12 +08:00
Dirkjan Ochtman 5dce8501d5 Let callers create CommandDocument directly 2022-03-22 16:47:12 +08:00
Dirkjan Ochtman dd07ecc4b8 Externalize handling of command serialization 2022-03-22 16:47:12 +08:00
Nicholas Rempel dd3c60f50e Move request/response debug logging to client 2022-03-14 23:41:41 +08:00
Dirkjan Ochtman ae4c9869ab Improve robustness against dropping futures 2022-03-14 23:41:41 +08:00
Dirkjan Ochtman 1426312df0 Derive Debug for RequestData 2022-02-10 13:55:34 +08:00
Dirkjan Ochtman af69f511b5 Generate error events for deserialization failures 2022-02-10 13:55:34 +08:00
Dirkjan Ochtman 53c240be21 Derive Copy on RequestData 2022-02-10 13:55:34 +08:00
Dirkjan Ochtman 386638b6ca Offer API to reconnect an EppClient 2022-02-10 13:55:34 +08:00
Dirkjan Ochtman 36558c429c Allow the Connection to connect itself 2022-02-10 13:55:34 +08:00
Dirkjan Ochtman e482cc152b Deduplicate client example code 2022-02-04 11:39:13 +08:00
Dirkjan Ochtman dc3f10cae3 Wrap timeouts around network operations 2022-02-04 11:39:13 +08:00
Dirkjan Ochtman f3aab578e7 Relax lifetime constraints on command + extension combinations
They should not be required to have the same lifetimes.
2022-01-31 14:05:52 +08:00
Dirkjan Ochtman 5fb32978bd Improve check request API types by redirecting serialization 2022-01-31 14:04:48 +08:00
Dirkjan Ochtman 24356a722a Re-export command types for easier access 2022-01-03 10:29:58 +08:00
Dirkjan Ochtman 70f3789098 Make tokio-rustls dependency optional 2022-01-03 10:22:20 +08:00
Dirkjan Ochtman 0db2c6d008 Abstract EppClient over stream type 2022-01-03 10:22:20 +08:00
Dirkjan Ochtman 44f3fbef53 Move responsibility for stream setup into client 2022-01-03 10:22:20 +08:00
Dirkjan Ochtman d69439ff24 Abstract EppConnection over stream type 2022-01-03 10:22:20 +08:00
Dirkjan Ochtman 978e43a4c1 Consistently return Error type 2021-12-27 15:29:09 +08:00
Dirkjan Ochtman 6d063804d3 Use consistent naming for error types 2021-12-27 15:29:09 +08:00
Dirkjan Ochtman 62645eec96 Minimize configuration interface API 2021-12-14 23:12:28 +08:00
Dirkjan Ochtman 7772b302af Add shutdown() method in EppClient interface 2021-12-14 23:12:28 +08:00
Dirkjan Ochtman 0ac766e848 Rename registry module to connection 2021-12-14 23:12:28 +08:00
Dirkjan Ochtman 4f111fa8fe Make connection setup a part of EppConnection interface 2021-12-14 23:12:28 +08:00
Dirkjan Ochtman 6695a20a18 Remove now unnecessary workspace 2021-12-13 00:19:03 +08:00