Commit Graph

91 Commits

Author SHA1 Message Date
Nicholas Rempel 3978c426da Rename transact_new to transact 2021-12-02 15:48:37 +08:00
Nicholas Rempel 9e1d11f9f3 Migrate rgp extension to new API 2021-12-02 15:48:37 +08:00
Nicholas Rempel 31fc61f4b0 Migrate commands to new API 2021-12-02 15:48:37 +08:00
Nicholas Rempel aa54c14972 Rename EmptyTag to NoExtension 2021-12-02 15:48:37 +08:00
Nicholas Rempel 80c0040cd9 Add EppRequest trait with related transact_new method 2021-12-02 15:48:37 +08:00
Nicholas Rempel 8de5984e38 Refactor Logout into logout.rs 2021-11-30 21:24:39 +08:00
Nicholas Rempel 2745e2b1ca Refactor Login into login.rs 2021-11-30 21:24:39 +08:00
Nicholas Rempel 76f2ca5b16 Refactor Hello/Greeting into hello.rs 2021-11-30 21:24:39 +08:00
Nicholas Rempel 5a480317e5 Refactor xml into root and disperse const values to relevant modules 2021-11-27 22:24:00 +08:00
Nicholas Rempel 8babf770c6 Refactor request and response into root 2021-11-27 22:24:00 +08:00
Nicholas Rempel fce6c7a2eb Refactor object::data into common module 2021-11-27 22:24:00 +08:00
Nicholas Rempel 8bf0283b7e Refactor message poll models 2021-11-27 22:24:00 +08:00
Nicholas Rempel dd102fa2cf Refactor message ack models 2021-11-27 22:24:00 +08:00
Nicholas Rempel 388f153763 Refactor host info models 2021-11-27 22:24:00 +08:00
Nicholas Rempel b8f9eb1f8f Refactor host info models 2021-11-27 22:24:00 +08:00
Nicholas Rempel fc21db3cac Refactor host delete models 2021-11-27 22:24:00 +08:00
Nicholas Rempel 63c5aae4a9 Refactor host create models 2021-11-27 22:24:00 +08:00
Nicholas Rempel fa032804a6 Refactor host check models 2021-11-27 22:24:00 +08:00
Nicholas Rempel 18097c14f0 Refactor contact update models 2021-11-27 22:24:00 +08:00
Nicholas Rempel d7199c5ddb Refactor contact info models 2021-11-27 22:24:00 +08:00
Nicholas Rempel f163d35a45 Refactor contact delete models 2021-11-27 22:24:00 +08:00
Nicholas Rempel feedd6046f Refactor contact create models 2021-11-27 22:24:00 +08:00
Nicholas Rempel 964f3a7376 Refactor contact check models 2021-11-27 22:24:00 +08:00
Nicholas Rempel dc90f91b8f Refactor rgp request models 2021-11-27 22:24:00 +08:00
Nicholas Rempel c198a7345b Refactor rgp report models 2021-11-27 22:24:00 +08:00
Nick Rempel 3f3502fea2 Refactor domain update models 2021-11-27 22:24:00 +08:00
Nick Rempel c5dfdd85b6 Refactor domain transfer models 2021-11-27 22:24:00 +08:00
Nick Rempel 8fe9e8bbeb Refactor domain renew models 2021-11-27 22:24:00 +08:00
Nick Rempel 41cafe5acc Refactor domain info models 2021-11-27 22:24:00 +08:00
Nick Rempel e5f5ba0695 Refactor domain delete models 2021-11-27 22:24:00 +08:00
Nick Rempel 341e06dc14 Refactor domain create models 2021-11-27 22:24:00 +08:00
Nick Rempel c082a5e3bf Refactor domain check models 2021-11-27 22:24:00 +08:00
Dirkjan Ochtman cca0447fb1 Replace StringValueTrait with From impls
This seems more idiomatic since it relies on well-known conversion
traits from the standard library. It is also more concise.

Also apply some other stylistic changes:

* Take &[T] instead of Vec<T> if the Vec cannot be reused
* Elide type annotations for collect() where unnecessary
2021-11-24 02:40:17 +08:00
Ritesh Chitlangi 2ce09077b1 added missing serde aliases for de-ser from valid but non-prefixed xml 2021-11-20 17:58:03 +08:00
Ritesh Chitlangi 890dc0f5d6 added xml ns prefixes to request serialization to match RFC examples 2021-11-20 17:58:03 +08:00
Nicholas Rempel 8462a872cd Remove all xsi location attributes 2021-11-20 17:39:42 +08:00
Dirkjan Ochtman 09f0719b4f Use an associated const for the element names 2021-11-19 12:50:28 +08:00
Dirkjan Ochtman bc96fd60f2 Use both version and path for macro dependency
This will use the path when available and use the version otherwise.
Can be kept in releases and the development repo and will do the
right thing.

(I was very surprised for a while that the main crate wasn't picking
up my changes to the macro.)
2021-11-19 12:50:28 +08:00
Ritesh Chitlangi a1600826a2 fix example in lib.rs 2021-11-18 20:23:54 +08:00
Ritesh Chitlangi 554aa5a5c6 minor version bump 2021-11-18 20:17:33 +08:00
Ritesh Chitlangi bb23fb5201 fix <hostObj> and <hostAttr> tags for domain update 2021-11-18 19:59:21 +08:00
Ritesh Chitlangi 11f7e4bd4b update doc for docs.rs as well 2021-11-12 16:15:28 +08:00
Ritesh Chitlangi c076066578 bump version after config changes 2021-11-12 16:05:03 +08:00
Ritesh Chitlangi c5e467b023 coupled socket shutdown with epp logout 2021-11-12 01:47:45 +08:00
Ritesh Chitlangi e07eba2de2 call to epp logout made explicit and Drop impl removed 2021-11-12 01:47:45 +08:00
Ritesh Chitlangi d0c553cebb fixed messy handling of <hostObj> and <hostAttr> in domain create request 2021-11-11 21:01:06 +08:00
Nicholas Rempel 5924b86cdd Update docs 2021-11-11 20:51:04 +08:00
Nicholas Rempel 445516e9e9 Revise config construction 2021-11-11 20:51:04 +08:00
Nicholas Rempel 08c9c6e8fd Remove xsi attributes from test xml 2021-11-10 14:54:13 +08:00
Nicholas Rempel 69a8fe40d2 Remove xsi attribute handling 2021-11-10 14:54:13 +08:00