sourcery 0.2.0

Event-Sourcing library in pure rust
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.92.0"
name = "sourcery"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event-Sourcing library in pure rust"
readme = "README.md"
keywords = [
    "event-sourcing",
    "cqrs",
]
categories = [
    "asynchronous",
    "database",
    "database-implementations",
]
license = "GPL-3.0-only"

[features]
default = []
postgres = ["dep:sourcery-postgres"]
test-util = ["sourcery-core/test-util"]

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

[[example]]
name = "advanced_projection"
path = "examples/advanced_projection.rs"
required-features = ["test-util"]

[[example]]
name = "inventory_report"
path = "examples/inventory_report.rs"

[[example]]
name = "optimistic_concurrency"
path = "examples/optimistic_concurrency.rs"
required-features = ["test-util"]

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[example]]
name = "snapshotting"
path = "examples/snapshotting.rs"

[[example]]
name = "subscription_billing"
path = "examples/subscription_billing.rs"

[[example]]
name = "versioned_events"
path = "examples/versioned_events.rs"

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

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

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

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

[dependencies.sourcery-core]
version = "0.2"

[dependencies.sourcery-macros]
version = "0.2"

[dependencies.sourcery-postgres]
version = "0.2"
optional = true

[dev-dependencies.serde]
version = "1"
features = [
    "derive",
    "std",
]
default-features = false

[dev-dependencies.serde-evolve]
version = "0.1.0"

[dev-dependencies.serde_json]
version = "1"
features = ["std"]
default-features = false

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]
default-features = false

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

[lints.clippy]
nursery = "warn"
pedantic = "warn"