content: # Copyright (c) Microsoft Corporation.
  # Licensed under the MIT License.
  
  [package]
  name = "mesh_rpc"
  edition.workspace = true
  rust-version.workspace = true
  
  [features]
  grpc = ["dep:base64", "dep:h2", "dep:tokio", "dep:http", "dep:urlencoding"]
  
  [dependencies]
  mesh = { workspace = true, features = ["prost"] }
  pal_async.workspace = true
  test_with_tracing.workspace = true
  unix_socket.workspace = true
  
  anyhow.workspace = true
  futures.workspace = true
  futures-concurrency.workspace = true
  parking_lot.workspace = true
  prost.workspace = true
  prost-types.workspace = true
  thiserror.workspace = true
  tracing.workspace = true
  unicycle.workspace = true
  zerocopy.workspace = true
  # gRPC dependencies
  base64 = { workspace = true, optional = true }
  h2 = { workspace = true, optional = true, features = ["stream"] }
  tokio = { version = "1", optional = true }
  http = { workspace = true, optional = true }
  urlencoding = { workspace = true, optional = true }
  
  [dev-dependencies]
  env_logger.workspace = true
  unix_socket.workspace = true
  
  [build-dependencies]
  mesh_build.workspace = true
  
  prost-build.workspace = true
  
  [lints]
  workspace = true
  