From 6551827b6ccb2654673dfc6f1b8bf7ee29942222 Mon Sep 17 00:00:00 2001 From: Bilal Mahmoud Date: Tue, 1 Oct 2024 12:55:34 +0200 Subject: [PATCH] chore: remove removal --- libs/@local/harpc/service/examples/account.rs | 2 -- libs/@local/harpc/service/src/metadata.rs | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/libs/@local/harpc/service/examples/account.rs b/libs/@local/harpc/service/examples/account.rs index 7e3b5f3a0f8..2362a9afc70 100644 --- a/libs/@local/harpc/service/examples/account.rs +++ b/libs/@local/harpc/service/examples/account.rs @@ -67,7 +67,6 @@ impl Service for Account { minor: 0x00, }, deprecation: None, - removal: None, } } } @@ -88,7 +87,6 @@ impl Procedure for CreateAccount { minor: 0x00, }, deprecation: None, - removal: None, } } } diff --git a/libs/@local/harpc/service/src/metadata.rs b/libs/@local/harpc/service/src/metadata.rs index 51ba80b5fbb..c305d8542bb 100644 --- a/libs/@local/harpc/service/src/metadata.rs +++ b/libs/@local/harpc/service/src/metadata.rs @@ -11,15 +11,6 @@ pub struct Deprecation { pub reason: Option<&'static str>, } -/// Represents the removal information for a procedure or service. -#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] -pub struct Removal { - /// The version at which the procedure/service will be removed. - pub version: Version, - /// The reason for removal. - pub reason: Option<&'static str>, -} - /// Metadata containing version information for procedures and services. #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub struct Metadata { @@ -28,7 +19,4 @@ pub struct Metadata { /// The deprecation information for the procedure/service. pub deprecation: Option, - - /// The removal information for the procedure/service. - pub removal: Option, }