Skip to content

Commit 1a2dcdc

Browse files
committed
Set correct requirements for minimal versions; test in CI
Versions found by examining API or trial-and-error. CI will now try minimal lib versions with minimal rustc version, but only for select targets.
1 parent b771a82 commit 1a2dcdc

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ matrix:
66
- rust: 1.28.0
77
env: DESCRIPTION="Linux, 1.28.0"
88
os: linux
9+
before_script:
10+
- cargo generate-lockfile -Z minimal-versions
911

1012
- rust: 1.28.0
1113
env: DESCRIPTION="OSX, 1.22.0"
1214
os: osx
15+
before_script:
16+
- cargo generate-lockfile -Z minimal-versions
1317

1418
- rust: stable
1519
env: DESCRIPTION="Linux, stable"

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ members = [
1515
]
1616

1717
[target.'cfg(unix)'.dependencies]
18-
libc = "0.2"
18+
libc = "0.2.27"
1919

2020
[target.'cfg(windows)'.dependencies]
21-
winapi = { version = "0.3", features = ["minwindef", "ntsecapi", "winnt"] }
21+
winapi = { version = "0.3.6", features = ["minwindef", "ntsecapi", "winnt"] }
2222

2323
[target.'cfg(target_os = "cloudabi")'.dependencies]
2424
cloudabi = "0.0.3"
@@ -27,5 +27,5 @@ cloudabi = "0.0.3"
2727
fuchsia-cprng = "0.1"
2828

2929
[target.wasm32-unknown-unknown.dependencies]
30-
wasm-bindgen = { version = "0.2.12", optional = true }
31-
stdweb = { version = "0.4", optional = true }
30+
wasm-bindgen = { version = "0.2.29", optional = true }
31+
stdweb = { version = "0.4.9", optional = true }

0 commit comments

Comments
 (0)