Skip to content

Commit

Permalink
Move rust crates down near the protobufs
Browse files Browse the repository at this point in the history
The rust crates are interleaved in the protobuf directories. This
prevents mirroring the directory structure in another sub-directory
  • Loading branch information
nick-mobilecoin committed Feb 13, 2023
1 parent bc2c553 commit 3add27c
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 20 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions crates/Cargo.toml → Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[workspace]
members = [
"attestation/grpcio",
"attestation/tonic",
"attestation/protobuf-types",
"mobilecoinfoundation/attestation/grpcio",
"mobilecoinfoundation/attestation/tonic",
"mobilecoinfoundation/attestation/messages",
]

# We need to explicitly specify resolver 2.
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# protobufs
# Rust crates for gRPC interfaces

MobileCoin Protocol Buffers Definitions (Future)
This is composed of 3 crates:

1. `mc-probufs-tonic`: A crate providing a
[Tonic](https://docs.rs/tonic/latest/tonic/) implementation of gRPC client
and server services.
2. `mc-probufs-grpcio`: A crate providing a
[grpcio](https://docs.rs/grpcio/latest/grpcio/) implementation of gRPC client
and server services.
3. `mc-probufs-messages`: A crate providing gRPC messages. This is used by
both of the service implementations, `mc-probufs-tonic` and `mc-probufs-grpcio`.
12 changes: 0 additions & 12 deletions crates/README.md

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ categories = ["api-bindings", "encoding"]
keywords = ["grpc", "protobuf", "rpc"]

[dependencies]
mc-attestation-protobuf-types = { path = "../protobuf-types", version = "0.1.0" }
mc-attestation-messages = { path = "../messages", version = "0.1.0" }
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "mc-attestation-protobuf-types"
name = "mc-attestation-messages"
version = "0.1.0"
edition = "2021"
authors = ["MobileCoin"]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ categories = ["api-bindings", "encoding"]
keywords = ["grpc", "protobuf", "rpc"]

[dependencies]
mc-attestation-protobuf-types = { path = "../protobuf-types", version = "0.1.0" }
mc-attestation-messages = { path = "../messages", version = "0.1.0" }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3add27c

Please sign in to comment.