@hodfords/nestjs-grpc-helper 12.6.0 → 12.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hodfords/nestjs-grpc-helper",
3
- "version": "12.6.0",
3
+ "version": "12.6.1",
4
4
  "description": "A utility for simplifying gRPC integration and communication in NestJS applications",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -93,6 +93,7 @@ pub(crate) fn build_request<T>(message: T, timeout: Option<Duration>, metadata:
93
93
 
94
94
  /// A unary call: the hook around it, the client default timeout as the deadline of all attempts, and
95
95
  /// the retry policy of the client. `send` performs one attempt.
96
+ #[allow(dead_code, reason = "a crate whose rpcs are all server streams never calls it")]
96
97
  pub(crate) async fn unary<Req, Res, F, Fut>(
97
98
  rpc: Rpc,
98
99
  client: &ClientOptions,
@@ -116,6 +117,7 @@ where
116
117
  }
117
118
 
118
119
  /// Opens a server stream: the hook around the opening and the call timeout only, never retried.
120
+ #[allow(dead_code, reason = "a crate without a server-streaming rpc never calls it")]
119
121
  pub(crate) async fn open_stream<Req, Res, F, Fut>(
120
122
  rpc: Rpc,
121
123
  client: &ClientOptions,