+
Skip to content

Conversation

nick-mobilecoin
Copy link
Collaborator

No description provided.

Comment on lines +345 to +346
tonic = { version = "0.9", default-features = false }
tonic-build = "0.9"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 0.9 is the one that works with prost 0.11

include!(concat!(env!("OUT_DIR"), "/protos-auto-gen/mod.rs"));
}

pub mod tonic {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figure push these into a tonic namespace to avoid conflicting with the pub use crate::{autogenerated_code::* below

Comment on lines +18 to +21
pub mod tonic {
pub mod external {
pub mod v1 {
tonic::include_proto!("external.v1");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure on this nesting here, may need to wait until the actual tonic implementations of gRPC is done

Copy link

⚠️ Downstream repo mobilecoinofficial/full-service failed to build. Check actions status for details.

Copy link

⚠️ Downstream repo mobilecoinofficial/android-bindings failed to build. Check actions status for details.

Copy link

⚠️ Downstream repo mobilecoinofficial/android-bindings failed to build. Check actions status for details.

Copy link

⚠️ Downstream repo mobilecoinofficial/full-service failed to build. Check actions status for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载