# 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" name = "eventlogs" version = "0.1.0" description = "High-Performance, Batteries-Included, Event Sourcing for Rust" readme = "README.md" keywords = [ "event-sourcing", "events", "logs", ] license = "MIT" repository = "https://github.com/davestearns/eventlogs" [dependencies.base64] version = "0.22.1" [dependencies.chrono] version = "0.4.38" features = ["serde"] [dependencies.const_format] version = "0.2.32" [dependencies.deadpool-postgres] version = "0.14.0" optional = true [dependencies.deadpool-redis] version = "0.15.1" optional = true [dependencies.futures-util] version = "0.3.30" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.thiserror] version = "1.0.63" [dependencies.tokio] version = "1.38.1" features = ["full"] [dependencies.tokio-postgres] version = "0.7.10" features = [ "with-chrono-0_4", "with-serde_json-1", ] optional = true [dependencies.trait-variant] version = "0.1.2" [dev-dependencies.serde_json] version = "1.0.120" [dev-dependencies.uuid] version = "1.10.0" features = ["v7"] [features] default = [ "postgres-store", "redis-cache", ] postgres-store = [ "dep:deadpool-postgres", "dep:tokio-postgres", ] redis-cache = ["dep:deadpool-redis"]