Cargo Features
[dependencies]
systemd_socket = { version = "0.1.2", default-features = false, features = ["serde", "enable_systemd", "parse_arg", "tokio", "tokio_0_2", "tokio_0_3", "async-std"] }
- default = enable_systemd
-
The
enable_systemd
feature is set by default wheneversystemd_socket
is added without
somewhere in the dependency tree.default-features = false - serde = serde_crate, serde_str_helpers
- enable_systemd default = libsystemd
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- serde_crate serde?
-
Enables serde
- serde_str_helpers serde?
- parse_arg implicit feature
-
Enables parse_arg
parse_arg:
Traits and implementations for parsing command-line arguments
- tokio implicit feature
-
Enables tokio
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications
Affects
error::TokioBindError
,error::TokioConversionError
… - tokio_0_2 implicit feature
-
Enables tokio ^0.2
Affects
error::TokioBindError
,error::TokioConversionError
… - tokio_0_3 implicit feature
-
Enables tokio ^0.3
Affects
error::TokioBindError
,error::TokioConversionError
… - async-std implicit feature
-
Enables async-std
async-std:
Async version of the Rust standard library
- libsystemd linux enable_systemd