Commit Graph

93 Commits

Author SHA1 Message Date
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
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
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
69a8fe40d2 Remove xsi attribute handling 2021-11-10 14:54:13 +08:00
Nicholas Rempel
cf8f11c35b Support both rsa and pkcs8 keys 2021-11-10 03:22:16 +08:00
Nicholas Rempel
356194af08 Update greetings test 2021-11-08 22:15:07 +08:00
Nicholas Rempel
7edb2402a2 Update representations for <dcp> and children 2021-11-08 22:15:07 +08:00
Nicholas Rempel
c5fc82491b Make clippy happy 2021-11-04 17:13:59 +08:00
Nicholas Rempel
42892e12a0 cargo fmt 2021-11-04 17:13:59 +08:00
Nicholas Rempel
4d4da1c52a cargo clippy --fix 2021-11-04 17:13:59 +08:00
Dirkjan Ochtman
8c01d983fa Upgrade to rustls 0.20 2021-10-29 01:04:25 +08:00
Ritesh Chitlangi
0922b82ce0 added RGP restore request and report calls 2021-07-29 23:42:36 +08:00
Ritesh Chitlangi
1b4cf39c69 fixed comments for rustdoc 2021-07-27 03:27:18 +08:00
Ritesh Chitlangi
252d8676c1 added some examples for EPP transactions 2021-07-27 01:45:14 +08:00
Ritesh Chitlangi
70d8927989 added doc comments for all requests and responses 2021-07-26 23:51:37 +08:00
Ritesh Chitlangi
699b1e0f30 added deserialization tests for all responses so far 2021-07-26 15:05:53 +08:00
Ritesh Chitlangi
263e30211c doc comments for config.rs 2021-07-26 02:46:16 +08:00
Ritesh Chitlangi
eafbe4c647 added some response deserialization tests 2021-07-26 02:26:02 +08:00
Ritesh Chitlangi
198c92c40f added doc comments for request types 2021-07-25 22:34:01 +08:00
Ritesh Chitlangi
28f744ea26 WIP adding documentation 2021-07-25 04:15:59 +08:00
Ritesh Chitlangi
c310e6f7b4 added serialization tests 2021-07-25 03:10:40 +08:00
Ritesh Chitlangi
f9fd4080b9 added epp message queue calls 2021-07-24 14:42:08 +08:00
Ritesh Chitlangi
5b4eb8509e added calls for host operations 2021-07-24 03:23:01 +08:00
Ritesh Chitlangi
f4ee674161 added basic domain operations 2021-07-24 00:47:41 +08:00
Ritesh Chitlangi
5c9afa665b tested domain creation call 2021-07-23 14:07:40 +08:00
Ritesh Chitlangi
5f0a5092a5 added domain creation call 2021-07-23 02:41:22 +08:00
Ritesh Chitlangi
b8b1d06d76 added contact info, update and delete calls 2021-07-23 01:12:50 +08:00
Ritesh Chitlangi
3ea096d62f premilinary error handling and code re-arrangement 2021-07-22 23:08:01 +08:00
Ritesh Chitlangi
fca4e4b231 basic error handling for epp command errors 2021-07-22 22:01:46 +08:00
Ritesh Chitlangi
d991fdec26 fixed element name macro for generic attrs 2021-07-22 18:44:38 +08:00
Ritesh Chitlangi
fd72c80023 added macro for serializer element name for generic objects 2021-07-22 18:35:20 +08:00