Skip to content

Commit c90811e

Browse files
authored
Merge pull request #1086 from kenkoooo/update/dependencies
Update backend packages
2 parents c4e58bb + 63ceac7 commit c90811e

File tree

5 files changed

+102
-67
lines changed

5 files changed

+102
-67
lines changed

atcoder-problems-backend/Cargo.lock

Lines changed: 84 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

atcoder-problems-backend/Cargo.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "atcoder-problems-backend"
33
version = "0.1.0"
44
authors = ["kenkoooo <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
publish = false
77

88
[dependencies]
@@ -13,7 +13,7 @@ fern = "0.6.0"
1313
rand = "0.7.3"
1414
chrono = "0.4"
1515
regex = "1"
16-
rust-s3 = {version="0.27.0-rc4", features=["no-verify-ssl"]}
16+
rust-s3 = { version = "0.27.0-rc4", features = ["no-verify-ssl"] }
1717
serde = { version = "1.0", features = ["derive"] }
1818
serde_json = "1.0"
1919

@@ -26,16 +26,15 @@ atcoder-client = { path = "./atcoder-client" }
2626
# Web framework
2727
tide = "0.16"
2828
cookie = "0.14"
29-
surf = "2.2.0"
29+
surf = "2.3"
3030

31-
async-trait = "0.1.48"
31+
async-trait = "0.1"
3232

3333
async-std = { version = "1.9.0", features = ["attributes"] }
3434
anyhow = "1.0.32"
35-
futures = "0.3.5"
36-
tokio = {version="1.8.0",features=["rt-multi-thread","macros"]}
35+
tokio = { version = "1.15", features = ["rt-multi-thread", "macros"] }
3736

3837
[dev-dependencies]
3938

4039
[workspace]
41-
members = ["sql-client", "atcoder-client"]
40+
members = ["sql-client", "atcoder-client"]

atcoder-problems-backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.50.0 AS builder
1+
FROM rust:1.57.0 AS builder
22

33
WORKDIR /app
44

@@ -25,7 +25,7 @@ ADD ./atcoder-client ./atcoder-client
2525
RUN cargo clean --release -p atcoder-client -p sql-client
2626
RUN cargo build --release
2727

28-
FROM rust:1.50.0
28+
FROM rust:1.57.0
2929
COPY --from=builder /app/target/release/batch_update /usr/bin/batch_update
3030
COPY --from=builder /app/target/release/crawl_all_submissions /usr/bin/crawl_all_submissions
3131
COPY --from=builder /app/target/release/crawl_for_virtual_contests /usr/bin/crawl_for_virtual_contests

0 commit comments

Comments
 (0)