feat(tvix/store): use tokio-listener for tvix-store daemon command
This allows binding on unix sockets, as well as systemd socket activation. Change-Id: Icf648c4fd0895468c52607deb6397b8b5928102b Reviewed-on: https://cl.tvl.fyi/c/depot/+/11901 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com>
This commit is contained in:
parent
f6c759de58
commit
830fdda8d4
4 changed files with 31 additions and 19 deletions
|
@ -11722,6 +11722,13 @@ rec {
|
|||
edition = "2021";
|
||||
sha256 = "1cm6r5dmpq96s8gw9dgsinq5g8s466j48dg7dckwc4gc28g6cd21";
|
||||
dependencies = [
|
||||
{
|
||||
name = "clap";
|
||||
packageId = "clap";
|
||||
optional = true;
|
||||
usesDefaultFeatures = false;
|
||||
features = [ "derive" "std" ];
|
||||
}
|
||||
{
|
||||
name = "document-features";
|
||||
packageId = "document-features";
|
||||
|
@ -11776,6 +11783,11 @@ rec {
|
|||
}
|
||||
];
|
||||
devDependencies = [
|
||||
{
|
||||
name = "clap";
|
||||
packageId = "clap";
|
||||
features = [ "help" ];
|
||||
}
|
||||
{
|
||||
name = "tokio";
|
||||
packageId = "tokio";
|
||||
|
@ -11801,7 +11813,7 @@ rec {
|
|||
"unix_path_tools" = [ "nix" ];
|
||||
"user_facing_default" = [ "inetd" "unix" "unix_path_tools" "sd_listen" "socket_options" ];
|
||||
};
|
||||
resolvedDefaultFeatures = [ "default" "inetd" "nix" "sd_listen" "socket2" "socket_options" "tokio-util" "tonic011" "unix" "unix_path_tools" "user_facing_default" ];
|
||||
resolvedDefaultFeatures = [ "clap" "default" "inetd" "multi-listener" "nix" "sd_listen" "socket2" "socket_options" "tokio-util" "tonic011" "unix" "unix_path_tools" "user_facing_default" ];
|
||||
};
|
||||
"tokio-macros" = rec {
|
||||
crateName = "tokio-macros";
|
||||
|
@ -14252,7 +14264,7 @@ rec {
|
|||
{
|
||||
name = "tokio-listener";
|
||||
packageId = "tokio-listener";
|
||||
features = [ "tonic011" ];
|
||||
features = [ "clap" "multi-listener" "sd_listen" "tonic011" ];
|
||||
}
|
||||
{
|
||||
name = "tokio-stream";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue