sim-lib-mutation 0.1.0-rc.1

SIM workspace package for sim lib mutation.
Documentation
#![forbid(unsafe_code)]
#![deny(missing_docs)]
//! Mutation behavior for the SIM runtime: cells, boxes, vectors, and tables.
//!
//! The kernel defines the capability and operation contracts; this crate
//! supplies the concrete mutation organ (mutable cells, boxes, vectors, and
//! tables) guarded by a standard mutate capability. Every in-place write goes
//! through [`standard_mutate_capability`] so mutation stays auditable, and the
//! organ publishes its operation keys as claims via
//! [`publish_mutation_organ_claims`].
//!
//! See the crate [README] for where this organ sits in the constellation.
//!
//! [README]: https://github.com/sim-nest/sim-runtime

mod cap;
mod cell;
mod claims;
mod table;
mod vector;

pub use cap::standard_mutate_capability;
pub use cell::{Cell, MutableBox, cell_value, mutable_box_value};
pub use claims::{
    mutation_box_op_key, mutation_cell_op_key, mutation_op_keys, mutation_organ_symbol,
    mutation_set_op_key, mutation_table_op_key, mutation_vector_op_key,
    publish_mutation_organ_claims, publish_mutation_organ_claims_for_lib,
};
pub use table::{MutableTable, mutable_table, mutable_table_value};
pub use vector::{MutableVector, mutable_vector, mutable_vector_from_value, mutable_vector_value};

#[cfg(test)]
mod tests;