Commit Graph

326 Commits

Author SHA1 Message Date
Dirkjan Ochtman 65bf5f5595 Add support for rgp-poll extension 2024-05-27 11:38:32 +02:00
Dirkjan Ochtman 82f9ef79ac Move rgp module into a separate file 2024-05-27 11:38:32 +02:00
Dirkjan Ochtman 0d806303dd Remove some dead code 2024-05-27 10:22:45 +02:00
Dirkjan Ochtman 209a8503a6 Update repository URL 2024-03-25 16:25:48 +01:00
Dirkjan Ochtman e7c429f96a Bump version to 0.2.2 2024-03-25 16:25:48 +01:00
Dirkjan Ochtman ecddf97e72 Upgrade tokio-rustls to 0.26 2024-03-25 16:25:48 +01:00
Beau Hartshorne c87f55afa8
Add cover image (#34) 2024-02-28 11:13:52 -08:00
Dirkjan Ochtman dde597478e Bump version to 0.2.1 2024-01-08 11:00:26 +01:00
Rudi Floren 7bf527b34d
Add is_persistent to ResultCode (#32)
This is helpful when EPP requests are executed in a loop, and you want to
know if the error result will persist for additional requests with
similar but different arguments.
2024-01-04 19:56:01 +01:00
Dirkjan Ochtman a8d9d306f3 Bump version to 0.2.0 2023-12-18 11:08:44 +01:00
Dirkjan Ochtman e5ffac17b3 Upgrade to tokio-rustls 0.25 2023-12-18 11:08:44 +01:00
Dirkjan Ochtman 26c4bb4d4c Verify MSRV in CI 2023-10-25 22:59:40 +02:00
Dirkjan Ochtman 4392e1cb5a Bump MSRV to 1.61 (for instant-xml) 2023-10-25 22:59:40 +02:00
Dirkjan Ochtman 01ae10ce53 Apply clippy suggestion 2023-10-25 22:59:40 +02:00
Dirkjan Ochtman 4aae031f44 Bump instant-xml to 0.4 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
dependabot[bot] 3da5ab62d2 Update webpki-roots requirement from 0.23 to 0.24
Updates the requirements on [webpki-roots](https://github.com/rustls/webpki-roots) to permit the latest version.
- [Commits](https://github.com/rustls/webpki-roots/compare/v/0.23.1...v/0.24.0)

---
updated-dependencies:
- dependency-name: webpki-roots
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 10:19:25 +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
kmkaplan 76ad8db313
Secdns ergonomic (#21) 2023-04-21 14:28:15 +02:00
kmkaplan 976fd2c002
[secDNS] EPP <create> command (#20) 2023-04-18 15:57:57 +02:00
Dirkjan Ochtman c0e58dec04 Warn when not using Self 2023-04-14 12:40:54 +02:00
Dirkjan Ochtman 5371ba573a Warn on unreachable_pub lint
This makes it easier to track visibility/compatibility during review.
2023-04-14 12:40:54 +02:00
kmkaplan 7024bcd7a5
Frnic contact create (#16) 2023-04-14 10:10:06 +02:00
Kim Minh Kaplan 1b6a774232 Order derive implementations alphabetically. 2023-04-03 13:18:58 +02:00
Kim Minh Kaplan 1451ffb8e5 Make contact's organization, province, postal code and voice optional.
This changes the signature for `contact::Address::new`,
`contact::ContactCreate::new` and the type of fields
`contact::InfoData::voice` and `contact::ContactCreateRequest::voice`.

Fixes issue #13.
2023-04-03 13:18:58 +02:00
Dirkjan Ochtman bf5b444ff7 Upgrade tokio-rustls to 0.24 2023-04-03 10:41:17 +02:00
kmkaplan 6551749b77
Do not emit empty `svcExtension` XML element (#12)
Co-authored-by: Kim Minh Kaplan <kimminh.kaplan+git@afnic.fr>
2023-03-31 15:31:01 +02:00
Dirkjan Ochtman c5bc07b157 Upgrade to instant-xml 0.3 2023-03-21 17:25:34 +01:00
Dirkjan Ochtman e42b953052 Expose poll module 2023-03-02 21:03:30 +01:00
Dirkjan Ochtman f18e47e38a Export poll::PollData from the crate root
Missed this in #7, so now the PollData type cannot be named.
2023-03-02 21:03:30 +01:00
Dirkjan Ochtman 0901fab3d7 Remove Message prefixes from poll types 2023-03-02 17:19:33 +01:00
Dirkjan Ochtman 0c6283fbf4 Provide more precise types for poll/ack commands
Ideally we might have modeled this with an enum with one named
field in the variants, but instant-xml is not yet up to the task;
in the mean-time, this provides more robust types, and manual
ToXml implementations aren't too verbose anyway.
2023-03-02 17:19:33 +01:00
Dirkjan Ochtman f5ea188fbb Move poll module to the top level 2023-03-02 17:19:33 +01:00
Dirkjan Ochtman 10eedb6045 Merge poll and ack modules 2023-03-02 17:19:33 +01:00
Dirkjan Ochtman f2194c818c Use enum type to represent host::Status 2023-03-02 16:42:44 +01:00
Dirkjan Ochtman 96268d9528 Use enum type to represent contact::Status 2023-03-02 16:42:44 +01:00
Dirkjan Ochtman cd92b45156 Use enum type to represent domain::Status 2023-03-02 16:42:44 +01:00
Dirkjan Ochtman 01a9b6ceb8 Clean up debugging cruft 2023-03-02 16:42:44 +01:00
Dirkjan Ochtman ef2abd64c6 Clean up XML entities in doc strings 2023-03-02 16:26:12 +01:00
Dirkjan Ochtman 3905881b55 Update README and clean up documentation 2023-03-02 15:30:22 +01:00
Dirkjan Ochtman 3565e8eb07 Use Cow for NameServers::ns 2023-03-02 14:02:48 +01:00
Dirkjan Ochtman da87740b3f Upgrade to instant-xml 0.2 2023-03-02 14:02:48 +01:00
Dirkjan Ochtman 9aae46dd5d Move module.rs files into module/mod.rs
This style puts the root modules closer to the contained modules,
which better aligns the on-disk structure with the module hierarchy.
2023-02-28 17:04:58 +01:00
Dirkjan Ochtman 844f84dbef Align response type names with XML 2023-02-28 17:04:58 +01:00
Dirkjan Ochtman 6b2b9d1a7f Use inline format arguments 2023-02-28 17:04:58 +01:00
Dirkjan Ochtman c4684a526f Update Cargo metadata 2023-02-28 17:04:58 +01:00