[package] name = "lemmy_utils" version.workspace = true edition.workspace = true description.workspace = true license.workspace = true homepage.workspace = true documentation.workspace = true repository.workspace = true [lib] name = "lemmy_utils" path = "src/lib.rs" doctest = false [lints] workspace = true [features] full = ["ts-rs"] [dependencies] regex = { workspace = true } tracing = { workspace = true } tracing-error = { workspace = true } itertools = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } once_cell = { workspace = true } url = { workspace = true } actix-web = { workspace = true } anyhow = { workspace = true } reqwest-middleware = { workspace = true } strum = { workspace = true } strum_macros = { workspace = true } futures = { workspace = true } diesel = { workspace = true, features = ["chrono"] } http = { workspace = true } doku = { workspace = true, features = ["url-2"] } uuid = { workspace = true, features = ["serde", "v4"] } rosetta-i18n = { workspace = true } tokio = { workspace = true } urlencoding = { workspace = true } openssl = "0.10.61" html2text = "0.6.0" deser-hjson = "2.2.4" smart-default = "0.7.1" lettre = { version = "0.11.2", features = ["tokio1", "tokio1-native-tls"] } markdown-it = "0.6.0" ts-rs = { workspace = true, optional = true } enum-map = { workspace = true } [dev-dependencies] reqwest = { workspace = true } pretty_assertions = { workspace = true } [build-dependencies] rosetta-build = { version = "0.1.3", default-features = false }