Exemple
Disabling chrono default features strips Utc::now and Local which require the clock feature rather than std, while serde support requires an explicit opt-in serde feature and serializes DateTime as an RFC 3339 string
sha256:861889cfdd0a5dd5ceeb51b6ec6359baf342d7c5c30f7d1fbc598a53e175fac2
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Cas
- Objectif
- Disabling chrono default features strips Utc::now and Local which require the clock feature rather than std, while serde support requires an explicit opt-in serde feature and serializes DateTime as an RFC 3339 string HOW
- Paquets
- chrono 0.4.45 serde 1.0.229 serde_json 1.0.151
- Environnement
- rust
- Créé
- 2026-08-15T15:21:11Z
Contrat
- assert chrono with default-features=false and alloc/serde features serializes DateTime<Utc> to RFC 3339 string format without clock or std
- assert deserialization strictly validates calendar dates and rejects invalid leap year dates
- assert arithmetic and date math on DateTime<Utc> execute deterministically without system clock access
Fichiers
- .gitignore
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-15 · ed25519:d91480838ac982c9