Skip to content

Commit 6ba33bb

Browse files
committed
Update proconio to 0.3.4
Starting from 0.3.3, `proconio` re-exports `proconio-derive` gated by `derive` feature gate. It is recommended to use this feature instead of using raw `proconio-derive`.
1 parent 6129d61 commit 6ba33bb

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ path = "src/main.rs"
1313
# AtCoder 2019年言語アップデート以降に使用できるクレート
1414

1515
# 競技プログラミングの入出力サポート
16-
proconio = "=0.3.0"
17-
proconio-derive = "=0.1.5"
16+
proconio = { version = "=0.3.4", features = ["derive"] }
1817

1918
# f64のOrd/Eq実装
2019
ordered-float = "=1.0.2"

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ fn main() -> UnitResult {
2626
// https://atcoder.jp/contests/abs/fasks/arc089_a
2727

2828
// proconio
29-
#[proconio_derive::fastout]
29+
#[proconio::fastout]
3030
fn run_proconio() {
3131
use proconio::source::{line::LineSource, once::OnceSource, Source};
3232
use std::io::BufReader;
3333

3434
run_proconio_for::<OnceSource<BufReader<&[u8]>>>();
3535
run_proconio_for::<LineSource<BufReader<&[u8]>>>();
3636

37-
#[proconio_derive::fastout]
37+
#[proconio::fastout]
3838
fn run_proconio_for<'a, T: Source<BufReader<&'a [u8]>> + From<&'a str>>() {
3939
use proconio::input;
4040

0 commit comments

Comments
 (0)