Selaa lähdekoodia

Require exact version of protobuf (2.10.0)

The version of compiled files needs to match the protobuf version,
including patch level.
Johannes Hofmann 6 vuotta sitten
vanhempi
commit
ae08d8dc81
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      Cargo.toml

+ 1
- 1
Cargo.toml Näytä tiedosto

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"