Skip to content

fix: add clock feature to chrono in zeph-memory#1960

Merged
bug-ops merged 2 commits intomainfrom
fix/chrono-features-zeph-memory
Mar 18, 2026
Merged

fix: add clock feature to chrono in zeph-memory#1960
bug-ops merged 2 commits intomainfrom
fix/chrono-features-zeph-memory

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Mar 18, 2026

Problem

After workspace dependency reorganization (#1959), the zeph-memory crate was missing the required clock feature for chrono. This caused cargo publish --dry-run verification to fail with:

error[E0599]: no function or associated item named `now` found for struct `Utc` in the current scope
error[E0599]: no method named `format` found for struct `DateTime<Tz>`

Solution

Add features = ["std", "clock"] to the chrono dependency in zeph-memory/Cargo.toml. These features are required by:

  • chrono::Utc::now() in src/semantic/recall.rs
  • DateTime::format() in src/router.rs

Validation

  • cargo publish --dry-run --workspace --allow-dirty --features full now passes
  • ✅ All features verify correctly for all 14 crates

The zeph-memory crate uses chrono::Utc::now() and DateTime::format()
which require the 'clock' feature. This was missing after the workspace
dependency reorganization, causing cargo publish verification to fail.

Fixes: cargo publish --dry-run verification error
@github-actions github-actions bot added memory zeph-memory crate (SQLite) dependencies Dependency updates bug Something isn't working size/XS Extra small PR (1-10 lines) labels Mar 18, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 18, 2026 00:28
@bug-ops bug-ops disabled auto-merge March 18, 2026 00:32
…ncies

Lock workspace dependency versions to match the crate versions.
This ensures consistency when publishing patches.
@github-actions github-actions bot added size/S Small PR (11-50 lines) rust Rust code changes size/XS Extra small PR (1-10 lines) and removed size/XS Extra small PR (1-10 lines) size/S Small PR (11-50 lines) labels Mar 18, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 18, 2026 00:38
@bug-ops bug-ops merged commit a99be64 into main Mar 18, 2026
20 checks passed
@bug-ops bug-ops deleted the fix/chrono-features-zeph-memory branch March 18, 2026 00:45
@bug-ops bug-ops restored the fix/chrono-features-zeph-memory branch March 18, 2026 00:58
@bug-ops bug-ops deleted the fix/chrono-features-zeph-memory branch March 18, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dependencies Dependency updates memory zeph-memory crate (SQLite) rust Rust code changes size/XS Extra small PR (1-10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant