about summary refs log tree commit diff
path: root/tvix/nix-compat/src/nix_daemon/mod.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-18T09·36+0300
committerclbot <clbot@tvl.fyi>2024-04-18T12·22+0000
commitcf86a098cf93edb29e0b53e4d6e56ed05e7ee2ed (patch)
treeff582670834119e48b14b57bcfa13b3f56825371 /tvix/nix-compat/src/nix_daemon/mod.rs
parent2c884b8bd2918974c1ad281aea28edb83d2d5661 (diff)
feat(tvix/nix-compat/nix_daemon/version): add ProtocolVersion r/7955
This provides a nice wrapper struct to deal with versions.

Change-Id: I6acc03bc9f8d84a0583196073b52776c45d3fe92
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11454
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: picnoir picnoir <picnoir@alternativebit.fr>
Diffstat (limited to 'tvix/nix-compat/src/nix_daemon/mod.rs')
-rw-r--r--tvix/nix-compat/src/nix_daemon/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/nix_daemon/mod.rs b/tvix/nix-compat/src/nix_daemon/mod.rs
index 633fdbebd47c..fe652377d1b4 100644
--- a/tvix/nix-compat/src/nix_daemon/mod.rs
+++ b/tvix/nix-compat/src/nix_daemon/mod.rs
@@ -1 +1,4 @@
 pub mod worker_protocol;
+
+mod protocol_version;
+pub use protocol_version::ProtocolVersion;