Skip to content

Commit cc54d13

Browse files
authored
Force cfg-if 0.1.10 (#234)
When using cfg-if version `0.1.9`, compiling fails with the following error message. error: expected an item keyword --> .../time-0.2.8/src/utc_offset.rs:366:13 | 366 | let tm = timestamp_to_tm(datetime.timestamp())?; Forcing 0.1.10 fixes this. Fixes #233
1 parent 538d2e6 commit cc54d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ std = ["libc", "winapi", "stdweb", "standback/std"]
2727
__doc = []
2828

2929
[dependencies]
30-
cfg-if = "0.1"
30+
cfg-if = "0.1.10"
3131
rand = { version = "0.7", optional = true, default-features = false }
3232
rustversion = "1"
3333
serde = { version = "1", optional = true, default-features = false, features = ["derive"] }

0 commit comments

Comments
 (0)