mere-kernel 0.0.3

Portable identity, authority, and mutation kernel for the Mere browser. Renamed from graphshell-core.
Documentation
// Copyright 2026 Mark Alan Boykin
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-License-Identifier: MPL-2.0

//! `kernel`: Portable identity, authority, and mutation kernel.
//!
//! This crate must compile to `wasm32-unknown-unknown` with zero errors.
//! It contains no egui, wgpu, Servo, or platform I/O dependencies.
//!
//! Forbidden in this crate:
//! - `Uuid::new_v4()` outside `#[cfg(not(target_arch = "wasm32"))]` (WASM hosts provide IDs)
//! - `std::time::{Instant, SystemTime}::now()` (panics on browser WASM — use
//!   `PortableInstant` or the crate's `web_time`-backed wall-clock helpers)
//! - `#[wasm_bindgen]` / UniFFI annotations (belong in wrapper crates)
//! - any platform I/O (file, network, browser APIs)

pub mod accessibility;
pub mod actions;
pub mod address;
pub mod async_host;
pub mod async_request;
pub mod content;
pub mod geometry;
pub mod graph;
pub mod host_event;
pub mod host_toolkit;
pub mod intents;
pub mod overlay;
pub mod paint;
pub mod pane;
/// Settings/permissions scope hierarchy + the narrowing rule (R0 invariant).
pub mod permissions;
pub mod persistence;
/// Edge persistence types (`PersistedEdge` et al.), re-exported through
/// [`persistence`]. Separate file to keep `persistence.rs` under the ceiling.
pub mod persistence_edge;
/// Field-layer persistence DTOs (`PersistedField`/`PersistedCoupling`),
/// re-exported through [`persistence`]. Separate file to keep `persistence.rs`
/// under the per-file ceiling.
pub mod persistence_fields;
pub mod signal_router;
pub mod time;
pub mod types;
pub mod verso_address;

#[cfg(test)]
mod tests;