mnesis 0.1.0

A zero-compromise event-sourcing and CQRS kernel for Rust with maximum compile-time type safety
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95.0"
name = "mnesis"
version = "0.1.0"
authors = ["Joel DSouza <joel@devrandom.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A zero-compromise event-sourcing and CQRS kernel for Rust with maximum compile-time type safety"
homepage = "https://github.com/devrandom-labs/mnesis"
readme = "README.md"
keywords = [
    "event-sourcing",
    "cqrs",
    "ddd",
    "aggregate",
    "domain-driven-design",
]
categories = ["data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/devrandom-labs/mnesis"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["std"]
derive = ["dep:mnesis-macros"]
std = ["thiserror/std"]
testing = []

[lib]
name = "mnesis"
path = "src/lib.rs"

[[test]]
name = "aggregate_fixture_tests"
path = "tests/aggregate_fixture_tests.rs"

[[test]]
name = "compile_tests"
path = "tests/compile_tests.rs"

[[test]]
name = "kernel"
path = "tests/kernel.rs"

[[test]]
name = "saga_fixture_tests"
path = "tests/saga_fixture_tests.rs"

[[bench]]
name = "kernel_bench"
path = "benches/kernel_bench.rs"
harness = false

[dependencies.arrayvec]
version = "0.7.6"
default-features = false

[dependencies.mnesis-macros]
version = "=0.1.0"
optional = true

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.static_assertions]
version = "1.1.0"

[dev-dependencies.thiserror]
version = "2.0.18"
default-features = false

[dev-dependencies.trybuild]
version = "1"

[lints.clippy]
allow_attributes_without_reason = "deny"
as_conversions = "deny"
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
expect_used = "deny"
implicit_clone = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
shadow_reuse = "deny"
shadow_same = "deny"
shadow_unrelated = "deny"
str_to_string = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1