Skip to content

Commit

Permalink
Update minimal version of cfg-if and memoffset
Browse files Browse the repository at this point in the history
Old cfg-if and memoffset don't support `use` imports.
  • Loading branch information
taiki-e committed May 22, 2020
1 parent 4acfd0b commit 1532530
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ alloc = ["crossbeam-epoch/alloc", "crossbeam-queue/alloc"]
nightly = ["crossbeam-epoch/nightly", "crossbeam-utils/nightly", "crossbeam-queue/nightly"]

[dependencies]
cfg-if = "0.1.2"
cfg-if = "0.1.10"

[dependencies.crossbeam-channel]
version = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ default = ["std"]
std = ["crossbeam-utils/std"]

[dependencies]
cfg-if = "0.1.2"
cfg-if = "0.1.10"

[dependencies.crossbeam-utils]
version = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-deque/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ default = ["std"]
std = ["crossbeam-epoch/std", "crossbeam-utils/std"]

[dependencies]
cfg-if = "0.1.2"
cfg-if = "0.1.10"

[dependencies.crossbeam-epoch]
version = "0.8"
Expand Down
4 changes: 2 additions & 2 deletions crossbeam-epoch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ nightly = ["crossbeam-utils/nightly"]
sanitize = [] # Makes it more likely to trigger any potential data races.

[dependencies]
cfg-if = "0.1.2"
memoffset = "0.5"
cfg-if = "0.1.10"
memoffset = "0.5.1"

[dependencies.crossbeam-utils]
version = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-queue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ alloc = []
nightly = []

[dependencies]
cfg-if = "0.1.2"
cfg-if = "0.1.10"

[dependencies.crossbeam-utils]
version = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-skiplist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ alloc = ["crossbeam-epoch/alloc"]
nightly = ["crossbeam-epoch/nightly", "crossbeam-utils/nightly"]

[dependencies]
cfg-if = "0.1.2"
cfg-if = "0.1.10"

[dependencies.crossbeam-epoch]
version = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ std = ["lazy_static"]
nightly = []

[dependencies]
cfg-if = "0.1.2"
cfg-if = "0.1.10"
lazy_static = { version = "1.1.0", optional = true }

[build-dependencies]
Expand Down

0 comments on commit 1532530

Please sign in to comment.