devtools-wire-format 0.5.3

gRPC wire format for the CrabNebula devtools for Tauri
Documentation
syntax = "proto3";

package rs.devtools.tauri;

import "google/protobuf/timestamp.proto";

service Tauri {
  rpc GetVersions(VersionsRequest) returns (Versions) {}

  rpc GetConfig(ConfigRequest) returns (Config) {}

  rpc GetMetrics(MetricsRequest) returns (Metrics) {
    option deprecated = true;
  }
}

message VersionsRequest {}

message Versions {
  /// Tauri version, follows SemVer.
  string tauri = 1;
  /// Version of the OS'es webview.
  /// The format of this is freeform and changes depending on the OS. 
  optional string webview = 2;
}

message ConfigRequest {}

message MetricsRequest {}

message Config {
  /// The raw JSON string of the configuration
  string raw = 1;
}

message Metrics {
  /// Tauri application initialization time
  google.protobuf.Timestamp initialized_at = 1;
  /// Tauri application reported `AppReady` time
  google.protobuf.Timestamp ready_at = 2;
}