[package]
edition = "2021"
rust-version = "1.88"
name = "cellos-projector"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Projection layer for CellOS — consumes JetStream CloudEvents into in-memory cell/formation state. Used by cellos-server."
homepage = "https://github.com/0ryant/CellOS"
documentation = "https://docs.rs/cellos-projector"
readme = "README.md"
keywords = [
"cellos",
"projection",
"event-sourcing",
"jetstream",
"cqrs",
]
categories = [
"asynchronous",
"development-tools::debugging",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/0ryant/CellOS"
[lib]
name = "cellos_projector"
path = "src/lib.rs"
[[bin]]
name = "cellos-audit-justification"
path = "src/bin/cellos-audit-justification.rs"
[[bin]]
name = "cellos-projector"
path = "src/main.rs"
[[bin]]
name = "cellos-state-server"
path = "src/bin/cellos-state-server.rs"
[[test]]
name = "audit_doc_round_trip"
path = "tests/audit_doc_round_trip.rs"
[[test]]
name = "i5_sign_emit_to_projector_e2e"
path = "tests/i5_sign_emit_to_projector_e2e.rs"
[[test]]
name = "signed_envelope_round_trip"
path = "tests/signed_envelope_round_trip.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-nats]
version = "0.48"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.cellos-core]
version = "0.7.2"
features = ["tracing-layer"]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.ed25519-dalek]
version = "2"
[dependencies.futures-util]
version = "0.3"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"http1",
"server",
]
[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"rt-multi-thread",
"macros",
"net",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
]
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.cellos-core]
version = "0.7.2"
[dev-dependencies.cellos-sink-jsonl]
version = "0.5.1"
[dev-dependencies.cellos-supervisor]
version = "0.5.1"
[dev-dependencies.ed25519-dalek]
version = "2"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"rt-multi-thread",
"macros",
]
[lints.clippy]
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"