nats.rs
nats.rs copied to clipboard
Implement Deserialize trait for ServerAddress
See: https://github.com/nats-io/nats.rs/issues/717
Impement the serde deserializer for the ServerAddress(Url) struct based on the existing implementation of from_str
.
I'm not sure about this, as there are a lot of types that are serialized with try_from/from_str via serde itself. @Jarema wdyt?