Skip to content

Commit 14936e1

Browse files
committed
Support SystemD LISTEN_FDS.
Receive pre-bound UDP and TCP sockets via the LISTEN_FDS environment variable.
1 parent 3f58c89 commit 14936e1

File tree

2 files changed

+421
-152
lines changed

2 files changed

+421
-152
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ toml_edit = "0.22"
2121

2222

2323
[target.'cfg(unix)'.dependencies]
24-
nix = { version = "0.29", features = [ "fs", "process", "user" ] }
24+
nix = { version = "0.29", features = [ "fs", "net", "process", "socket", "user" ] }
2525
syslog = "7"
2626

0 commit comments

Comments
 (0)