feat(tvix/nix-compat/nix_daemon/version): add ProtocolVersion
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>
This commit is contained in:
parent
2c884b8bd2
commit
cf86a098cf
5 changed files with 160 additions and 27 deletions
|
|
@ -14,3 +14,5 @@ pub mod wire;
|
|||
mod nix_daemon;
|
||||
#[cfg(feature = "wire")]
|
||||
pub use nix_daemon::worker_protocol;
|
||||
#[cfg(feature = "wire")]
|
||||
pub use nix_daemon::ProtocolVersion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue