Skip to content

Commit c2494cf

Browse files
committed
0.1.2: Upgrade to the nightly build for async feature
air2$ rustc --version rustc 1.40.0-nightly (aa69777ea 2019-10-29)
1 parent af6aa65 commit c2494cf

File tree

4 files changed

+106
-4
lines changed

4 files changed

+106
-4
lines changed

Cargo.lock

+87-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "track"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
authors = ["Keith Noguchi <[email protected]>"]
55
edition = "2018"
66

77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10+
futures-preview = { version = "=0.3.0-alpha.17", features = ["compat"] }
1011
indicatif = "0.12.0"
1112
twitter-stream = "0.8.0"

Dockerfile.arch64

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# SPDX-License-Identifier: GPL-2.0
22
FROM archlinux/base
3-
RUN pacman -Sy --noconfirm make gcc pkgconf rust
3+
RUN pacman -Sy --noconfirm make gcc pkgconf rustup
4+
# Let's update the rustc and the like to include the latest features,
5+
# especially async, as explained in the async book:
6+
# https://rust-lang.github.io/async-book/01_getting_started/05_http_server_example.html
7+
RUN rustup update nightly
8+
RUN rustup default nightly
49
WORKDIR /home/build
510
CMD ["make"]

Dockerfile.ubuntu64

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# SPDX-License-Identifier: GPL-2.0
22
FROM ubuntu:18.04
3-
RUN apt-get update && apt-get install -y make libssl-dev pkg-config rustc cargo
3+
RUN apt-get update && apt-get install -y make gcc libssl-dev pkg-config curl
4+
#RUN apt-get update && apt-get install -y rustc cargo
5+
# ubuntu18.04 doesn't provide the rustup through the standard package.
6+
RUN curl https://sh.rustup.rs -sSf > rustup-init.sh
7+
RUN sh rustup-init.sh -y
8+
# Let's update the rustc and the like to include the latest features,
9+
# especially async, as explained in the async book:
10+
# https://rust-lang.github.io/async-book/01_getting_started/05_http_server_example.html
11+
ENV PATH "/root/.cargo/bin:${PATH}"
12+
RUN rustup update nightly
13+
RUN rustup default nightly
414
WORKDIR /home/build
515
CMD ["make"]

0 commit comments

Comments
 (0)