From 41813aca18224a16dcaa138a424c28f25420a864 Mon Sep 17 00:00:00 2001 From: Eyal Kalderon Date: Wed, 18 Jan 2023 23:12:10 -0500 Subject: [PATCH] Stabilize stale client request handling capability --- src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d9981af..8dcd6ea 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1582,8 +1582,10 @@ pub struct GeneralClientCapabilities { #[serde(skip_serializing_if = "Option::is_none")] pub markdown: Option, + /// Client capability that signals how the client handles stale requests (e.g. a request for + /// which the client will not process the response anymore since the information is outdated). + /// /// @since 3.17.0 - #[cfg(feature = "proposed")] #[serde(skip_serializing_if = "Option::is_none")] pub stale_request_support: Option, @@ -1615,7 +1617,6 @@ pub struct GeneralClientCapabilities { /// anymore since the information is outdated). /// /// @since 3.17.0 -#[cfg(feature = "proposed")] #[derive(Debug, PartialEq, Clone, Default, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub struct StaleRequestSupportClientCapabilities {