Commit Graph

181 Commits

Author SHA1 Message Date
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
5d54101317 fix shell command for /bin/sh 2021-11-12 17:41:09 +08:00
Ritesh Chitlangi
bcb9866732 fix cargo token read for publish 2021-11-12 17:30:32 +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
e78a4368ae cache output files per branch for parallel builds 2021-11-12 01:50:01 +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
9061097641 Update README 2021-11-11 20:51:04 +08:00
Nicholas Rempel
4c944dfa98 Run all doc tests on CI server 2021-11-11 20:51:04 +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
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
5f1bd57d4a Setup drone actions to run lint on PR 2021-11-04 17:13:59 +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
Ritesh Chitlangi
ea98b5bd05 only execute crates.io publish on merges to master 2021-10-29 10:47:21 +08:00
Dirkjan Ochtman
8c01d983fa Upgrade to rustls 0.20 2021-10-29 01:04:25 +08:00
Ritesh Chitlangi
d06d404c12 troubleshoot cargo auto-publish later 2021-07-29 23:52:41 +08:00
Ritesh Chitlangi
4b83b725b7 set macros crate to be remote 2021-07-29 23:50:01 +08:00
Ritesh Chitlangi
38b12fcdc1 fix CI to login into cargo before publishing 2021-07-29 23:47:51 +08:00
Ritesh Chitlangi
0922b82ce0 added RGP restore request and report calls 2021-07-29 23:42:36 +08:00
Ritesh Chitlangi
609de4d89b added build badge to README 2021-07-27 18:27:44 +08:00
Ritesh Chitlangi
d91977999a don't run doc tests because they aren't mocked 2021-07-27 17:59:42 +08:00
Ritesh Chitlangi
73b2c522a1 added CI for project 2021-07-27 17:51:49 +08:00
Ritesh Chitlangi
fdd5397355 updated README with doc link 2021-07-27 12:28:04 +08:00
Ritesh Chitlangi
46af9bc5f7 minor README fix 2021-07-27 05:04:05 +08:00
Ritesh Chitlangi
2e5cbc8645 fix README typo 2021-07-27 04:29:57 +08:00
Ritesh Chitlangi
7bddd53219 fixed request section in README 2021-07-27 04:23:24 +08:00
Ritesh Chitlangi
a7cd68f8a7 bumped version for crates.io 2021-07-27 04:19:05 +08:00
Ritesh Chitlangi
acd2d6b980 fixed README 2021-07-27 04:18:37 +08:00
Ritesh Chitlangi
6a6470d881 fixed readme for crates.io 2021-07-27 04:17:16 +08:00
Ritesh Chitlangi
7edf02fb44 bump version for new README file 2021-07-27 04:12:25 +08:00
Ritesh Chitlangi
6af67cd195 added README.md to epp-client package as well for crates.io 2021-07-27 04:05:46 +08:00
Ritesh Chitlangi
acfcff0440 updated tokio-test version to fixed 2021-07-27 04:02:30 +08:00
Ritesh Chitlangi
f2f053b8a2 updated epp-client to use macro lib from crates.io 2021-07-27 03:59:47 +08:00