serde_json is added
This commit is contained in:
parent
a572e8f45d
commit
8321416df3
|
@ -11,4 +11,5 @@ path = "./src/lib.rs"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.10"
|
prost = "0.10"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
serde_json = { version = "1" }
|
||||||
const_format = "0.2"
|
const_format = "0.2"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
#[derive(Clone, Serialize, Deserialize, PartialEq, ::prost::Message)]
|
||||||
pub struct Client {
|
pub struct Client {
|
||||||
#[prost(string, optional, tag = "1")]
|
#[prost(string, optional, tag = "1")]
|
||||||
pub site_url: ::core::option::Option<::prost::alloc::string::String>,
|
pub site_url: ::core::option::Option<::prost::alloc::string::String>,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user