# 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 = "horfimbor-eventsource" version = "0.3.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "an eventsource implementation on top of eventstore" readme = "README.md" keywords = [ "eventsource", "eventsourcing", "eventstore", ] categories = [ "database", "rust-patterns", ] license-file = "LICENSE" repository = "https://github.com/horfimbor/horfimbor-engine" [lib] name = "horfimbor_eventsource" path = "src/lib.rs" [[test]] name = "macro" path = "tests/macro.rs" [[test]] name = "public_event_test" path = "tests/public_event_test.rs" [[test]] name = "state_only_test" path = "tests/state_only_test.rs" [[test]] name = "state_with_cache_test" path = "tests/state_with_cache_test.rs" [dependencies.async-trait] version = "0.1" [dependencies.eventstore] version = "3.0.0" [dependencies.futures] version = "0.3" [dependencies.horfimbor-eventsource-derive] version = "0.1.5" [dependencies.redis] version = "0.26" features = ["tokio-rustls-comp"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.26" [dependencies.uuid] version = "1.1" features = [ "v4", "serde", ] [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.rand] version = "0.8" [features] cache-redis = ["redis"] default = ["cache-redis"] [lints.clippy] unwrap_used = "warn" [lints.rust] unsafe_code = "forbid"