aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.83k stars 89 forks source link

Fix parsing a socket path in config #475

Closed future-highway closed 1 year ago

future-highway commented 1 year ago

By default, the toml crate does not handle enum (de)serialization. This PR implements the traits needed by serde to enable deserializing an AuraeSocket. Currently it assumes the config is specifying a Path, but I would think we also want to support specifying a SocketAddrV6 at some point.