Mercurial > crates > systemd-socket
comparison 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 |
comparison
equal
deleted
inserted
replaced
12:4479770c2275 | 13:f740dadd2948 |
---|---|
42 } | 42 } |
43 ``` | 43 ``` |
44 | 44 |
45 ## Features | 45 ## Features |
46 | 46 |
47 * `enable_systemd` - on by default, the existence of this feature can allow your users to turn | |
48 off systemd support if they don't need it. Note that it's already disabled on non-linux | |
49 systems, so you don't need to care about that. | |
47 * `serde` - implements `serde::Deserialize` for `SocketAddr` | 50 * `serde` - implements `serde::Deserialize` for `SocketAddr` |
48 * `parse_arg` - implements `parse_arg::ParseArg` for `SocketAddr` | 51 * `parse_arg` - implements `parse_arg::ParseArg` for `SocketAddr` |
49 * `tokio_0_2` - adds `bind_tokio_0_2` method to `SocketAddr` | 52 * `tokio_0_2` - adds `bind_tokio_0_2` method to `SocketAddr` |
50 * `tokio_0_3` - adds `bind_tokio_0_3` method to `SocketAddr` | 53 * `tokio_0_3` - adds `bind_tokio_0_3` method to `SocketAddr` |
51 * `async_std` - adds `bind_async_std` method to `SocketAddr` | 54 * `async_std` - adds `bind_async_std` method to `SocketAddr` |