Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eca85fd

Browse files
committed
Relax proconio requirement
In the AtCoder server, proconio v0.3.6 is used. However proconio has been improved since then without changing server-side bahavior. These changes are released on the v0.3 series. proconio is developed and maintained for AtCoder, so we can keep its behavior compatible with the judge server's behavior on v0.3 series. We can safely relax its requirement from `=0.3.6` to `^0.3.6`.
1 parent 621fb10 commit eca85fd

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,13 @@ path = "src/main.rs"
9696
#bitset-fixed = "=0.1.0"
9797

9898
# 競技プログラミングの入出力サポートその1
99-
proconio = { version = "=0.3.6", features = ["derive"] }
99+
proconio = { version = "^0.3.6", features = ["derive"] }
100+
# proconio は AtCoder のサーバー環境では 0.3.6 がインストールされていますが、
101+
# Rust Analyzer で型推論を可能にするなど、提出先での挙動を変えない範囲の改善が
102+
# ありました。これらはバージョン 0.3 シリーズとして提供されているので、利便性の
103+
# 観点から少し緩めに指定しておきます。ただし、万が一サーバー側と挙動が違うなど
104+
# の問題があるようでしたら直接 0.3.6 を指定して利用してください。
105+
#proconio = { version = "=0.3.6", features = ["derive"] }
100106

101107
# 競技プログラミングの入出力サポートその2
102108
#text_io = "=0.1.8"

0 commit comments

Comments
 (0)