# 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.79" name = "esrc" version = "0.1.0" authors = ["Wyatt Lindquist "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Primitives for implementing event sourcing and CQRS systems" readme = "README.md" keywords = [ "cqrs", "event-sourcing", "ddd", ] categories = ["asynchronous"] license = "MIT" repository = "https://github.com/wquist/esrc" [lib] name = "esrc" path = "src/lib.rs" [[example]] name = "cafe" path = "examples/cafe/main.rs" [[example]] name = "zero_copy" path = "examples/zero_copy/main.rs" [dependencies.async-nats] version = "0.37" optional = true [dependencies.esrc-derive] version = "0.1.0" optional = true [dependencies.futures] version = "0.3" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.trait-variant] version = "0.1" [dependencies.uuid] version = "1.8" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tokio] version = "1.41" features = ["full"] [dev-dependencies.uuid] version = "1.8" features = ["v7"] [features] default = [ "derive", "nats", ] derive = ["dep:esrc-derive"] nats = [ "dep:async-nats", "dep:serde_json", ]