codemod: use explicit versions in Cargo.toml

Summary:
This is done by running `fix-code.py`. Note that those strings are
semvers so they do not pin down the exact version. An API-compatiable upgrade
is still possible.

Reviewed By: ikostia

Differential Revision: D10213073

fbshipit-source-id: 82f90766fb7e02cdeb6615ae3cb7212d928ed48d
This commit is contained in:
Jun Wu 2018-11-15 18:18:31 -08:00 committed by Facebook Github Bot
parent 47dfaa269f
commit 616306543b
14 changed files with 56 additions and 56 deletions

View File

@ -3,12 +3,12 @@ name = "scm_daemon"
version = "0.1.0"
[dependencies]
failure = "*"
clap = "*"
log = "*"
env_logger = "*"
toml = "*"
serde = "*"
serde_derive = "*"
failure = "0.1.3"
clap = "2.32.0"
log = "0.4.6"
env_logger = "0.6.0"
toml = "0.4.8"
serde = "1.0.80"
serde_derive = "1.0.80"
commitcloudsubscriber = { version = "*", path = "../../lib/commitcloudsubscriber" }
commitcloudsubscriber = { version = "0.1.0", path = "../../lib/commitcloudsubscriber" }

View File

@ -12,8 +12,8 @@ crate-type = ["cdylib"]
[dependencies]
encoding = { path = "../../../lib/encoding" }
failure = "*"
failure_derive = "*"
failure = "0.1.3"
failure_derive = "0.1.3"
revisionstore = { path = "../../../lib/revisionstore" }
types = { path = "../../../lib/types" }

View File

@ -4,9 +4,9 @@ version = "0.1.0"
authors = ["harveyhunt"]
[dependencies]
atomicwrites = "*"
atomicwrites = "0.2.2"
error-chain = "*"
types = { path = "../types" }
[dev-dependencies]
tempfile = "*"
tempfile = "3.0.4"

View File

@ -15,16 +15,16 @@ description = """ \
"""
[dependencies]
eventsource = "*"
failure = "*"
lazy_static = "*"
log = "*"
serde = "*"
serde_derive = "*"
serde_json = "*"
reqwest = "*"
eventsource = "0.3.0"
failure = "0.1.3"
lazy_static = "1.2.0"
log = "0.4.6"
serde = "1.0.80"
serde_derive = "1.0.80"
serde_json = "1.0.33"
reqwest = "0.9.4"
rust-ini = "*"
regex = "*"
regex = "1.0.6"
[dev-dependencies]
tempfile = "*"
tempfile = "3.0.4"

View File

@ -3,10 +3,10 @@ name = "hg_watchman_client"
version = "0.1.0"
[dependencies]
watchman_client = { version = "*", path = "../watchman_client" }
watchman_client = { version = "0.1.0", path = "../watchman_client" }
serde = "1"
serde_json = "1"
failure = "*"
failure = "0.1.3"
[features]
default = []

View File

@ -3,12 +3,12 @@ name = "tester"
version = "0.1.0"
[dependencies]
hg_watchman_client = { version = "*", path = "../" }
watchman_client = { version = "*", path = "../../watchman_client/" }
clap = "*"
hg_watchman_client = { version = "0.1.0", path = "../" }
watchman_client = { version = "0.1.0", path = "../../watchman_client/" }
clap = "2.32.0"
serde = "1"
serde_derive = "1"
failure = "*"
failure = "0.1.3"
[features]
default = []

View File

@ -3,10 +3,10 @@ name = "indexedlog"
version = "0.1.0"
[dependencies]
atomicwrites = "*"
byteorder = "*"
fs2 = "*"
memmap = "*"
atomicwrites = "0.2.2"
byteorder = "1.2.7"
fs2 = "0.4.3"
memmap = "0.7.0"
twox-hash = "*"
vlqencoding = { path = "../vlqencoding" }
@ -14,7 +14,7 @@ vlqencoding = { path = "../vlqencoding" }
minibench = { path = "../minibench" }
quickcheck = "0.6"
rand = "0.4"
tempdir = "*"
tempdir = "0.3.7"
[[bench]]
name = "index"

View File

@ -3,4 +3,4 @@ name = "mpatch-sys"
version = "0.1.0"
[build-dependencies]
cc = "*"
cc = "1.0.25"

View File

@ -3,5 +3,5 @@ name = "mpatch"
version = "0.1.0"
[dependencies]
libc = "*"
libc = "0.2.43"
mpatch-sys = { path = "../mpatch-sys" }

View File

@ -6,4 +6,4 @@ version = "0.1.0"
ignore = "0.4"
[dev-dependencies]
tempdir = "*"
tempdir = "0.3.7"

View File

@ -4,16 +4,16 @@ version = "0.1.0"
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
[dependencies]
byteorder = "*"
failure = "*"
byteorder = "1.2.7"
failure = "0.1.3"
lz4-pyframe = { path = "../lz4-pyframe" }
memmap = "*"
memmap = "0.7.0"
mpatch = { path = "../mpatch" }
rust-crypto = "*"
tempfile = "*"
tempfile = "3.0.4"
types = { path = "../types" }
[dev-dependencies]
rand = "*"
quickcheck = "*"
rand = "0.5.5"
quickcheck = "0.6.2"
types = { path = "../types", default-features = false, features = ["for-tests"] }

View File

@ -4,14 +4,14 @@ version = "0.1.0"
authors = ["Facebook Source Control Team <sourcecontrol-dev@fb.com>"]
[dependencies]
bitflags = "*"
byteorder = "*"
bitflags = "1.0.4"
byteorder = "1.2.7"
error-chain = "*"
twox-hash = "*"
vlqencoding = { version = "*", path = "../vlqencoding" }
vlqencoding = { version = "0.1.0", path = "../vlqencoding" }
[dev-dependencies]
itertools = "*"
itertools = "0.7.8"
quickcheck = "0.6"
rand = "0.5"
tempdir = "*"
tempdir = "0.3.7"

View File

@ -7,11 +7,11 @@ default = []
for-tests = ["rand", "quickcheck"]
[dependencies]
failure = "*"
failure_derive = "*"
rand = { version = "*", optional = true }
quickcheck = { version = "*", optional = true }
failure = "0.1.3"
failure_derive = "0.1.3"
rand = { version = "0.5.5", optional = true }
quickcheck = { version = "0.6.2", optional = true }
[dev-dependencies]
rand = "*"
quickcheck = "*"
rand = "0.5.5"
quickcheck = "0.6.2"

View File

@ -3,12 +3,12 @@ name = "watchman_client"
version = "0.1.0"
[dependencies]
log = "*"
failure = "*"
log = "0.4.6"
failure = "0.1.3"
serde = "1"
serde_derive = "1"
serde_json = "1"
serde_bser = { version = "*", path = "../../../../watchman/rust/serde_bser" }
serde_bser = { version = "0.1.0", path = "../../../../watchman/rust/serde_bser" }
timeout-readwrite = "*"
[dev-dependencies]