mnesis-store 0.2.2

Event store edge layer for the Mnesis event-sourcing framework
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-store"
version = "0.2.2"
authors = ["Joel DSouza <joel@devrandom.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event store edge layer for the Mnesis event-sourcing framework"
homepage = "https://github.com/devrandom-labs/mnesis"
readme = "README.md"
keywords = [
    "event-sourcing",
    "event-store",
    "cqrs",
    "persistence",
]
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]
bytemuck = ["dep:bytemuck"]
cbor = [
    "import",
    "export",
    "dep:minicbor",
    "dep:crc32c",
]
default = ["std"]
export = []
futures-bridge = []
import = []
json = [
    "serde",
    "dep:serde_json",
]
projection = []
projection-json = [
    "projection",
    "json",
]
rkyv = ["dep:rkyv"]
serde = ["dep:serde"]
snapshot = []
snapshot-json = [
    "snapshot",
    "json",
]
std = [
    "thiserror/std",
    "mnesis/std",
    "futures/std",
    "bytes/std",
    "aligned-vec/std",
    "tracing?/std",
]
subscription = []
tracing = ["dep:tracing"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aligned-vec]
version = "=0.6.4"
default-features = false

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

[dependencies.bytemuck]
version = "1"
features = ["derive"]
optional = true

[dependencies.bytes]
version = "1"
default-features = false

[dependencies.crc32c]
version = "0.6.8"
optional = true

[dependencies.futures]
version = "0.3"
features = ["alloc"]
default-features = false

[dependencies.futures-core]
version = "0.3"
default-features = false

[dependencies.minicbor]
version = "2.2.2"
features = [
    "alloc",
    "derive",
]
optional = true

[dependencies.mnesis]
version = "0.2.2"
default-features = false

[dependencies.rkyv]
version = "0.8"
optional = true

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.serde_json]
version = "1.0.149"
optional = true

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

[dependencies.tracing]
version = "0.1.44"
features = ["attributes"]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "5.0.1"
features = ["html_reports"]
package = "codspeed-criterion-compat"

[dev-dependencies.futures]
version = "0.3"
features = [
    "alloc",
    "std",
    "async-await",
    "executor",
]
default-features = false

[dev-dependencies.insta]
version = "1.47.2"

[dev-dependencies.parking_lot]
version = "0.12.5"

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

[dev-dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dev-dependencies.serde_json]
version = "1.0.149"

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

[dev-dependencies.tokio]
version = "1.52.1"
features = [
    "full",
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tracing]
version = "0.1.44"
features = [
    "std",
    "attributes",
]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

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

[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