From 438819c34bbe60fd6ec2ac69b007b25ed1d243ac Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Sun, 21 Jun 2026 02:56:52 +0200 Subject: [PATCH] add rdv account identifiers --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4e7b9a7..5337950 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -918,7 +918,7 @@ checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" [[package]] name = "nex-account" -version = "0.1.1" +version = "0.1.2" dependencies = [ "hmac", "log", diff --git a/Cargo.toml b/Cargo.toml index 1d7d56a..b7bc8fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nex-account" -version = "0.1.1" +version = "0.1.2" edition = "2024" publish = ["spbr"] diff --git a/src/lib.rs b/src/lib.rs index be89287..d0922da 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,6 +3,10 @@ use md5::Md5; pub mod grpc; +pub const GUEST_PID: i32 = 100; +pub const RDV_AUTHENTICATION_PID: i32 = 1; +pub const RDV_SECURE_PID: i32 = 2; + pub type NexKey = [u8; 16]; type HmacMd5 = Hmac;