From fbd06da2ee06a3efe4a4b94151464a67fd6ee555 Mon Sep 17 00:00:00 2001 From: kixelated Date: Mon, 18 Sep 2023 17:24:35 -0700 Subject: [PATCH] Expose the version VarInt (#77) Useful for documentation. Right now it's: ```rust pub const KIXEL_00: Version = _ ``` This should probably be an enum too? --- moq-transport/src/setup/version.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moq-transport/src/setup/version.rs b/moq-transport/src/setup/version.rs index 6b2f143..17b67d3 100644 --- a/moq-transport/src/setup/version.rs +++ b/moq-transport/src/setup/version.rs @@ -6,7 +6,7 @@ use std::ops::Deref; /// A version number negotiated during the setup. #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] -pub struct Version(VarInt); +pub struct Version(pub VarInt); impl Version { ///