Mercurial > crates > systemd-socket
diff README.md @ 13:f740dadd2948
Added enable_systemd feature
This feature makes systemd support optional, on by default. While it may
seem strange that this feature exists, it makes sense for authors of
applications who want to make systemd optional. Thanks to this feature
the interface stays the same, it just fails to parse `systemd://`
addresses with a helpful error message.
author | Martin Habovstiak <martin.habovstiak@gmail.com> |
---|---|
date | Thu, 03 Dec 2020 16:34:09 +0100 |
parents | a7893294e9b2 |
children | f6334887e3c8 |
line wrap: on
line diff
--- a/README.md Sun Nov 29 14:15:33 2020 +0100 +++ b/README.md Thu Dec 03 16:34:09 2020 +0100 @@ -44,6 +44,9 @@ ## Features +* `enable_systemd` - on by default, the existence of this feature can allow your users to turn + off systemd support if they don't need it. Note that it's already disabled on non-linux + systems, so you don't need to care about that. * `serde` - implements `serde::Deserialize` for `SocketAddr` * `parse_arg` - implements `parse_arg::ParseArg` for `SocketAddr` * `tokio_0_2` - adds `bind_tokio_0_2` method to `SocketAddr`