1dba94c9cb
* Combine prod and dev docker setups using build-arg - Fixes #2603 * Dont use cache for release build. * Adding 2FA / TOTP support. - Fixes #2363 * Changed name to totp_2fa for clarity. * Switch to sha256 for totp.
56 lines
1.5 KiB
TOML
56 lines
1.5 KiB
TOML
[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
|
|
|
|
[dependencies]
|
|
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"
|
|
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"
|