Skip to content

Commit be15be5

Browse files
committed
Rolling back prost version
1 parent 835f137 commit be15be5

File tree

3 files changed

+32
-28
lines changed

3 files changed

+32
-28
lines changed

Cargo.lock

+29-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ include = [
2424
[dependencies]
2525
tonic = "0.8"
2626
tokio = { version = "1.17", features = ["macros", "rt-multi-thread"] }
27-
prost = "0.11"
27+
prost = "0.10"
2828
futures-util = "0.3"
2929
tokio-stream = {version = "0.1", features = ["net"]}
3030
once_cell = "1"
@@ -68,7 +68,7 @@ codegen-units = 1
6868

6969
[build-dependencies]
7070
tonic-build = { version = "0.8", default-features = false, features = ["prost", "transport"] }
71-
protobuf-src = "1.0"
71+
#protobuf-src = "1.0"
7272
cc = "1"
7373
time = { version = "0.3", features = ["formatting"] }
7474

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::env;
22
use time::{format_description, OffsetDateTime};
33

44
fn main() -> Result<(), Box<dyn std::error::Error>> {
5-
std::env::set_var("PROTOC", protobuf_src::protoc());
5+
//std::env::set_var("PROTOC", protobuf_src::protoc());
66

77
let format = format_description::parse("[year repr:last_two][month][day][hour][minute]")?;
88
let dt = OffsetDateTime::now_utc().format(&format)?;

0 commit comments

Comments
 (0)