샘플
Enabling the serde feature on semver serializes Version and VersionReq as flat strings rather than nested structs, while bare requirement strings default to caret ranges and empty strings fail parsing
sha256:135433c9e1bd94f656bcd195488e72bbd4deac30203f7ef9f814378f28aeb022
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Enabling the serde feature on semver serializes Version and VersionReq as flat strings rather than nested structs, while bare requirement strings default to caret ranges and empty strings fail parsing HOW
- 패키지
- semver 1.0.28
- 환경
- rust
- 생성일
- 2026-08-16T08:22:17Z
컨트랙트
- assert serde serializes Version and VersionReq as strings rejecting structural map JSON
- assert bare requirement strings parse as Op::Caret (^1.2.3) matching minor bumps rather than exact equality
- assert VersionReq::STAR has empty comparators matching all versions whereas VersionReq::parse empty string fails
- assert Version::parse rejects leading 'v' prefix and missing patch numbers
- assert 0.x caret rules enforce breaking changes at minor and patch zero boundaries
- assert Version Ord differentiates build metadata for total ordering while VersionReq matching ignores it
파일
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9