docs.rs failed to build libzymod-rust-1.0.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
libzymod-rust
智眼模块Rust SDK
安装
在 Cargo.toml
依赖项内添加:
[]
= "1.0.2"
使用
在文件中添加:
extern crate zymod;
Grpc
Upload使用的Proto文件如下:
syntax = "proto3";
package zhiyan_proto;
service Upload{
rpc dataUpload(UploadRequest) returns (UploadResponse);
}
message UploadRequest{
string name = 1;
int64 datetime = 2;
repeated float content =3;}
message UploadResponse{
string code = 1;
string message = 2;
}