diff --git a/README.md b/README.md index 9e616e7..bf04268 100644 --- a/README.md +++ b/README.md @@ -39,15 +39,15 @@ usually located at `$HOME/.config` or defined by the `XDG_CONFIG_HOME` environme An example config looks like this: ```toml -[registry.verisign +[registry.verisign] host = 'epp.verisign-grs.com' port = 700 username = 'username' password = 'password' # service extensions -ext_uris = [ +ext_uris = [] -[registry.verisign.tls_files +[registry.verisign.tls_files] # the full client certificate chain in PEM format cert_chain = '/path/to/certificate/chain/pemfile' # the RSA private key for your certificate @@ -56,7 +56,7 @@ key = '/path/to/private/key/pemfile' ## Operation -Once the config is set correctly, you can create a mut variable of type [`EppClient` +Once the config is set correctly, you can create a mut variable of type `EppClient` with the domain registry ```rust @@ -64,7 +64,7 @@ use epp_client::EppClient; use epp_client::epp::{EppDomainCheck, EppDomainCheckResponse}; use epp_client::epp::generate_client_tr_id; -#[tokio::main +#[tokio::main] async fn main() { // Create an instance of EppClient, specifying the name of the registry as in // the config file diff --git a/epp-client/README.md b/epp-client/README.md index b3b413e..bf04268 100644 --- a/epp-client/README.md +++ b/epp-client/README.md @@ -64,7 +64,7 @@ use epp_client::EppClient; use epp_client::epp::{EppDomainCheck, EppDomainCheckResponse}; use epp_client::epp::generate_client_tr_id; -#[tokio::main +#[tokio::main] async fn main() { // Create an instance of EppClient, specifying the name of the registry as in // the config file