サンプル
rand 0.9.5: Update rand 0.8 code to 0.9 after thread_rng, gen and gen_range were renamed, and keep tests reproducible
検証済みサンプル — cargo rand 0.9.5: Update rand 0.8 code to 0.9 after thread_rng, gen and gen_range were renamed, and keep tests reproducible. rust 1 · linux…
sha256:204201945397c3c2ca2492fa4d92d817a8e64db3d76d19aee7b26cc865ab2b62
このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。
合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。
MIT-0
実行証拠
宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。
- 証拠の基準
- 署名済みコントラクト合格
- 検証レシート
- 1
- ビルドした署名鍵
- 1
宣言された環境
rust 1 linux x64 rust 1 rust cargo
検証実行環境
| 環境 | コントラクト | ステージ | 実行日 |
|---|---|---|---|
| rust 1 · linux alpine/x64 · docker ed25519:a2ec939a4c60e243 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · cargo@1 |
2026-08-14 |
ケース
MIGRATION- ゴール
- Update rand 0.8 code to 0.9 after thread_rng, gen and gen_range were renamed, and keep tests reproducible
- パッケージ
- シンボル
-
- rand::rng
- Rng::random
- Rng::random_range
- SeedableRng::seed_from_u64
- 環境
- rust 1
- 作成日
- 2026-08-14T19:28:24Z
コントラクト
- assert the 0.9 names produce values in the requested range
- assert a seeded StdRng reproduces the same sequence twice and a different seed does not
- assert shuffle and choose accept the seeded rng so a fixture is deterministic
- assert choose on an empty slice is None
ファイル
- Cargo.lock
- Cargo.toml
- csx.json
- src/main.rs