浏览代码

Require exact version of protobuf (2.10.0)

The version of compiled files needs to match the protobuf version,
including patch level.
Johannes Hofmann 5 年前
父节点
当前提交
ae08d8dc81
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Cargo.toml

+ 1
- 1
Cargo.toml 查看文件

21
 system-libz = ["flate2"]
21
 system-libz = ["flate2"]
22
 
22
 
23
 [dependencies]
23
 [dependencies]
24
-protobuf = "~2.10"
24
+protobuf = "=2.10.0"
25
 byteorder = "1.1"
25
 byteorder = "1.1"
26
 flate2 = { version = "1.0", optional = true }
26
 flate2 = { version = "1.0", optional = true }
27
 inflate = "0.4"
27
 inflate = "0.4"