# 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.81.0" name = "eternaltwin_mailer" version = "0.16.0" authors = ["Charles Samborski "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Email formatter for Eternaltwin emails" homepage = "https://gitlab.com/eternaltwin/eternaltwin" documentation = "https://gitlab.com/eternaltwin/eternaltwin" readme = "README.md" keywords = ["etwin"] license = "AGPL-3.0-or-later" repository = "https://gitlab.com/eternaltwin/eternaltwin" [lib] name = "eternaltwin_mailer" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.66" [dependencies.compact_str] version = "0.7.1" [dependencies.eternaltwin_core] version = "0.16.0" features = ["serde"] [dependencies.eternaltwin_db_schema] version = "0.16.0" optional = true [dependencies.lettre] version = "0.10.3" features = [ "smtp-transport", "hostname", "builder", "tokio1-rustls-tls", ] default-features = false [dependencies.opentelemetry] version = "0.25.0" features = ["trace"] default-features = false [dependencies.serde] version = "1.0.155" features = ["derive"] [dependencies.serde_json] version = "1.0.94" optional = true [dependencies.sqlx] version = "0.7.4" features = [ "macros", "runtime-tokio-rustls", "uuid", "json", ] default-features = false [dependencies.thiserror] version = "1.0.50" [dependencies.tokio] version = "1.26.0" features = [ "macros", "rt", ] [dev-dependencies.eternaltwin_config] version = "0.16.0" [dev-dependencies.eternaltwin_db_schema] version = "0.16.0" [dev-dependencies.eternaltwin_user_store] version = "0.16.0" [dev-dependencies.serial_test] version = "1.0.0" [dev-dependencies.test-generator] version = "0.3.1" [features] client-mock = [] client-smtp = [] default = [ "client-mock", "client-smtp", "json", "html", "store-mem", "store-pg", "store-sqlite", ] html = [] json = ["dep:serde_json"] store-mem = [ "store-sqlite", "dep:eternaltwin_db_schema", ] store-pg = [ "dep:serde_json", "eternaltwin_core/sqlx-postgres", "sqlx/postgres", ] store-sqlite = [ "dep:serde_json", "eternaltwin_core/sqlx-sqlite", "sqlx/sqlite", "eternaltwin_db_schema?/sqlite", ]