Skip to content

Commit

Permalink
chore: remove removal
Browse files Browse the repository at this point in the history
  • Loading branch information
indietyp committed Oct 1, 2024
1 parent 350295c commit 6551827
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions libs/@local/harpc/service/examples/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ impl Service for Account {
minor: 0x00,
},
deprecation: None,
removal: None,
}
}
}
Expand All @@ -88,7 +87,6 @@ impl Procedure for CreateAccount {
minor: 0x00,
},
deprecation: None,
removal: None,
}
}
}
Expand Down
12 changes: 0 additions & 12 deletions libs/@local/harpc/service/src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -28,7 +19,4 @@ pub struct Metadata {

/// The deprecation information for the procedure/service.
pub deprecation: Option<Deprecation>,

/// The removal information for the procedure/service.
pub removal: Option<Removal>,
}

0 comments on commit 6551827

Please sign in to comment.