Thing 2.0 cut 4: bind (the Binder binds resolved trees to provider state by name) #13

Merged
eureka merged 7 commits from hands/thing2-bind into main 2026-11-28 03:15:14 +00:00
Showing only changes of commit 097ece5df7 - Show all commits

thing-contract: is_timestamp_text, Thing's own documented timestamp-text check; CultLib's name is no longer re-exported

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Meta Vens 2026-11-28 03:46:54 +01:00

View file

@ -33,7 +33,14 @@ pub use result::*;
pub use source::*;
pub use style::*;
pub use cultcache_rs::{DatabaseEntry, is_stored_at_stamp};
pub use cultcache_rs::DatabaseEntry;
/// Whether `text` is an RFC 3339 UTC-or-offset date-time of the one shape a Thing timestamp is
/// written in (`YYYY-MM-DDThh:mm:ss`, an optional fraction, then `Z` or an offset). A timestamp a
/// provider publishes as text is shown as written only when this accepts it.
pub fn is_timestamp_text(text: &str) -> bool {
cultcache_rs::is_stored_at_stamp(text)
}
use cultcache_rs::{CultCache, CultCacheRegistry};
/// Registers the five kinds with a cache.