サンプル
Check a version against a caret requirement with the semver crate in Rust
sha256:c191ec9b36048a433bed234d5c9bf24b677fdf4fc021f0c226ccf6e0e850be06
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Check a version against a caret requirement with the semver crate in Rust HOW
- パッケージ
- semver 1.0.28
- 環境
- rust 1
- 作成日
- 2026-08-13T15:47:40Z
コントラクト
- parse a version and a requirement
- assert a version inside the caret range matches
- assert the next major does not
- assert a prerelease is excluded from a plain requirement
ファイル
- Cargo.lock
- Cargo.toml
- csx.json
- src/main.rs
オリジンシーダー
検証レシート
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:FAIL · load:SKIPPED · resolve:PASS · cargo@1 · 2026-08-13 · ed25519:7da3f610facce8bf