skilj 0.2.0

Event sourcing on Postgres with Dynamic Consistency Boundaries: consistency per command instead of per aggregate, with GraphQL and REST APIs generated from your types.
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 = "2021"
rust-version = "1.95"
name = "skilj"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event sourcing on Postgres with Dynamic Consistency Boundaries: consistency per command instead of per aggregate, with GraphQL and REST APIs generated from your types."
readme = "README.md"
keywords = [
    "event-sourcing",
    "cqrs",
    "dcb",
    "postgres",
    "graphql",
]
categories = [
    "database",
    "web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gklijs/SkilJ"

[package.metadata.docs.rs]
features = ["local"]

[features]
default = []
local = ["dep:postgresql_embedded"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.axum]
version = "0.8"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures-util]
version = "0.3"

[dependencies.inventory]
version = "0.3"

[dependencies.opentelemetry]
version = "0.33"

[dependencies.postgresql_embedded]
version = "0.21.0"
optional = true

[dependencies.schemars]
version = "1"
features = ["chrono04"]

[dependencies.serde_json]
version = "1"

[dependencies.skilj-core]
version = "0.2.0"

[dependencies.skilj-graphql]
version = "0.2.0"

[dependencies.skilj-macros]
version = "0.2.0"

[dependencies.skilj-rest]
version = "0.2.0"

[dependencies.skilj-retry]
version = "0.2.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.jsonwebtoken]
version = "11"
features = [
    "use_pem",
    "aws_lc_rs",
]
default-features = false

[dev-dependencies.opentelemetry_sdk]
version = "0.33"
features = ["testing"]

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "json",
]
default-features = false

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "tls-rustls-aws-lc-rs",
    "postgres",
    "chrono",
    "json",
    "migrate",
]

[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["hashicorp_vault"]

[dev-dependencies.tokio-tungstenite]
version = "0.30"

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

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