diff --git a/Cargo.toml b/Cargo.toml index 6db0636..d757de4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,69 +11,104 @@ name = "main" path = "src/main.rs" [dependencies] -# AtCoder 2019年言語アップデート以降に使用できるクレート +# AtCoder 2020年言語アップデート以降に使用できるクレート。 +# 次のページに各クレートについての細かい紹介があります。 +# https://github.com/rust-lang-ja/atcoder-rust-resources/wiki/2020-Update + +# 数値型の抽象化、多倍長整数、複素数、分数、及び整数型の拡張 +#num = "=0.2.1" +#num-bigint = "=0.2.6" +#num-complex = "=0.2.4" +#num-integer = "=0.1.42" +#num-iter = "=0.1.40" +#num-rational = "=0.2.4" +#num-traits = "=0.2.11" + +# `num-traits`の自動実装 +#num-derive = "=0.3.0" + +# NumPyの`ndarray`のような多次元配列 +#ndarray = "=0.13.0" -# 競技プログラミングの入出力サポート -proconio = { version = "=0.3.4", features = ["derive"] } +# 線形代数 +#nalgebra = "=0.20.0" -# f64のOrd/Eq実装 -#ordered-float = "=1.0.2" +# (線形)代数の抽象化 +#alga = "=0.9.3" -# 剰余関連。普通の整数型などと同じ感覚で扱うだけで自動的にmodを取ってくれる -# 答えの整数をMで割った余りが要求される設問で便利 -#modtype = "=0.7.0" +# libmのRust実装 +#libm = "=0.2.1" -# 英数字などのASCII文字専用の文字列。文字にインデックスでアクセスしたり -# substringを簡単に作ったりできる -#ascii = "=1.0.0" +# 乱数 +#rand = { version = "=0.7.3", features = ["small_rng"] } +#getrandom = "=0.1.14" +#rand_chacha = "=0.2.2" +#rand_core = "=0.5.1" +#rand_hc = "=0.2.0" +#rand_pcg = "=0.2.1" -# BitSet。C++のbitsetに相当 -#bitset-fixed = "=0.1.0" +# 乱数の分布の追加 +#rand_distr = "=0.2.2" + +# グラフ +#petgraph = "=0.5.0" -# Permutation生成。C++のnext_permutationに相当する機能を提供 +# 挿入順を保持するhash table +#indexmap = "=1.3.2" + +# 正規表現 +#regex = "=1.3.6" + +# staticアイテムの遅延初期化 +#lazy_static = "=1.4.0" + +# `NotNan`, `OrderedFloat` +#ordered-float = "=1.0.2" + +# ASCII文字列 +#ascii = "=1.0.0" + +# permutation #permutohedron = "=0.2.4" -# スライスの強化。C++のlower_bound, upper_boundに相当する機能を提供 +# スライスの拡張 #superslice = "=1.0.0" -# イテレータの強化 -#itertools = "=0.8.0" +# イテレータの拡張 +#itertools = "=0.9.0" -# 高速なハッシュ関数 -#rustc-hash = "=1.0.1" +# イテレータの拡張(一次元累積和と浮動小数点数の等差数列) +#itertools-num = "=0.1.3" -# 固定配列上のベクタ。ヒープ領域でなくスタック領域にアロケートされるので高速かもしれない -#smallvec = "=0.6.10" +# `BTreeMap`, `BTreeSet`, `HashMap`, `HashSet`のリテラル用マクロ +#maplit = "=1.0.2" -# 標準ライブラリのVecやHashMapに対応する永続データ構造 -# 永続データ構造は関数型言語によく見られるデータ構造で、要素を更新しても、そのデータ構造の -# 以前のバージョンにアクセスできる。(更新の度に差分が記録されていくイメージ) -#im-rc = "=13.0.0" +# 即席enum `Either` +#either = "=1.5.3" -# 多バイト長整数、分数、複素数など -#num = "=0.2.0" +# `BTreeMap`, `BTreeSet`, `HashMap`, `HashSet`, `Vec`の永続データ構造版 +#im-rc = "=14.3.0" -# RNG 疑似乱数生成器 (randファミリー) -#rand = { version = "=0.7.2", features = ["small_rng"] } -#rand_chacha = "=0.2.1" -#rand_pcg = "=0.2.0" -#rand_distr = "=0.2.2" +# 可変長bit set +#fixedbitset = "=0.2.0" -# 正規表現 -#regex = "=1.3.1" +# 可変長bit set +#bitset-fixed = "=0.1.0" -# staticアイテムの遅延初期化 -#lazy_static = "=1.4.0" +# 競技プログラミングの入出力サポートその1 +proconio = { version = "=0.3.6", features = ["derive"] } -# 多次元配列 -#ndarray = "=0.13.0" +# 競技プログラミングの入出力サポートその2 +#text_io = "=0.1.8" -# 線形代数 -#nalgebra = "=0.18.1" +# 競技プログラミングの入出力サポートその3 +#whiteread = "=0.5.0" + +# 高速なハッシュ関数 +#rustc-hash = "=1.1.0" -# 代替ヒープアロケータ。条件によってはシステムアロケータより速いことも -#jemallocator = "=0.3.2" -#jemalloc-ctl = "=0.3.3" +# ある長さまでは要素を「直に」持つ可変長配列 +#smallvec = "=1.2.0" # --------------------------------------------------------------------- diff --git a/README.md b/README.md index df6692d..2249515 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ ## `ja`テンプレートの内容 - AtCoder 2019年言語アップデート後の環境向け -- Rust 1.36.0 +- Rust 1.42.0 - `rustup`でインストールされていることを前提にしている **TODO** もう少し詳しく書く diff --git a/rust-toolchain b/rust-toolchain index 39fc130..a50908c 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.36.0 +1.42.0 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy