[package]
name = "lemmy_utils"
-version = "0.14.2-rc.1"
-edition = "2018"
-description = "A link aggregator for the fediverse"
-license = "AGPL-3.0"
-homepage = "https://join-lemmy.org/"
-documentation = "https://join-lemmy.org/docs/en/index.html"
+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"
doctest = false
[dependencies]
-regex = "1.5.4"
-chrono = { version = "0.4.19", features = ["serde"] }
-lettre = "0.10.0-rc.3"
-tracing = "0.1.29"
-tracing-error = "0.2.0"
-itertools = "0.10.1"
-rand = "0.8.4"
-percent-encoding = "2.1.0"
-serde = { version = "1.0.130", features = ["derive"] }
-serde_json = { version = "1.0.68", features = ["preserve_order"] }
-thiserror = "1.0.29"
-comrak = { version = "0.12.1", default-features = false }
-once_cell = "1.8.0"
-openssl = "0.10.36"
-url = { version = "2.2.2", features = ["serde"] }
-actix-web = { version = "4.0.0-beta.9", default-features = false, features = ["rustls"] }
-actix-rt = { version = "2.2.0", default-features = false }
-anyhow = "1.0.44"
-reqwest = { version = "0.11.4", features = ["json"] }
-tokio = { version = "1.12.0", features = ["sync"] }
-strum = "0.21.0"
-strum_macros = "0.21.1"
-futures = "0.3.17"
-diesel = "1.4.8"
-http = "0.2.5"
+regex = { workspace = true }
+chrono = { workspace = true }
+tracing = { workspace = true }
+tracing-error = { workspace = true }
+itertools = { workspace = true }
+rand = { 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 }
+parking_lot = { workspace = true }
+typed-builder = { workspace = true }
+percent-encoding = { workspace = true }
+tokio = { workspace = true }
+openssl = "0.10.42"
+html2text = "0.4.3"
deser-hjson = "1.0.2"
smart-default = "0.6.0"
-webpage = { version = "1.3.0", default-features = false, features = ["serde"] }
-jsonwebtoken = "7.2.0"
-doku = "0.10.1"
-uuid = { version = "0.8.2", features = ["serde", "v4"] }
+jsonwebtoken = "8.1.1"
+lettre = "0.10.1"
+comrak = { version = "0.14.0", default-features = false }
+totp-rs = { version = "4.2.0", features = ["gen_secret", "otpauth"] }
+
+[dev-dependencies]
+reqwest = { workspace = true }
+tokio = { workspace = true, features = ["macros"] }
+
+[build-dependencies]
+rosetta-build = "0.1.2"