tilo-resource 0.5.2

The Tilo resource layer: typed, hierarchical app resources.
Documentation
#![allow(
    clippy::unwrap_used,
    clippy::expect_used,
    clippy::panic,
    clippy::indexing_slicing,
    reason = "a failed unwrap or index in a test is its assertion"
)]
// One test binary instead of one per file: each tests/*.rs linked the whole
// dependency graph separately. Files stay where they are; #[path] pulls them
// in as modules (`pub`, so what each file exported stays exported). nextest
// still runs each test in its own process.

#[path = "apply_cache.rs"]
pub mod apply_cache;
#[path = "by_app.rs"]
pub mod by_app;
#[path = "data_enum.rs"]
pub mod data_enum;
#[path = "dates.rs"]
pub mod dates;
#[path = "edit_arguments.rs"]
pub mod edit_arguments;
#[path = "evolution.rs"]
pub mod evolution;
#[path = "fields.rs"]
pub mod fields;
#[path = "footprint.rs"]
pub mod footprint;
#[path = "golden_path.rs"]
pub mod golden_path;
#[path = "housekeeping_tag.rs"]
pub mod housekeeping_tag;
#[path = "incoming_message.rs"]
pub mod incoming_message;
#[path = "incremental.rs"]
pub mod incremental;
#[path = "keyed.rs"]
pub mod keyed;
#[path = "kinds.rs"]
pub mod kinds;
#[path = "malformed_items.rs"]
pub mod malformed_items;
#[path = "one_pass_reads.rs"]
pub mod one_pass_reads;
#[path = "outbox.rs"]
pub mod outbox;
#[path = "paths.rs"]
pub mod paths;
#[path = "reading.rs"]
pub mod reading;
#[path = "schema.rs"]
pub mod schema;
#[path = "shape.rs"]
pub mod shape;
#[path = "upsert.rs"]
pub mod upsert;
#[path = "verbs.rs"]
pub mod verbs;

/// `doc`, a record of `R`, brought up to `R`'s version as every holder brings it up
/// ([`tilo_resource::founding::bring_up_resource`]).
pub fn bring_up<R: tilo_resource::Resource>(doc: &mut tilo_resource::Doc) -> bool {
    tilo_resource::founding::bring_up_resource::<R>(
        tilo_resource::Replica::<R>::WORKSPACE,
        tilo_resource::Replica::<R>::ID,
        doc,
    )
    .unwrap()
}