# 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 = "eventlog-core" version = "0.0.1" authors = ["derveloper"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Eventlog core library" readme = "README.md" keywords = [ "eventlog", "core", "library", "eventsourcing", ] categories = [ "asynchronous", "database", ] license = "MIT" repository = "https://github.com/derveloper/eventlog" [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = true [lib] name = "eventlog_core" path = "src/lib.rs" [dependencies.dotenvy] version = "0" optional = true [dependencies.flume] version = "0" [dependencies.futures] version = "0" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.sqlx] version = "0.8" features = [ "runtime-tokio-native-tls", "tls-native-tls", "postgres", "json", "uuid", ] optional = true [dependencies.tokio] version = "1" features = ["macros"] optional = true [dependencies.tokio-stream] version = "0" optional = true [dependencies.tracing] version = "0" [dependencies.tracing-subscriber] version = "0" [features] default = ["postgres"] postgres = [ "dep:sqlx", "dep:serde", "dep:serde_json", "dep:dotenvy", "dep:tokio", "dep:tokio-stream", ]