2020-07-10 14:15:41 -04:00
|
|
|
[package]
|
|
|
|
name = "lemmy_utils"
|
2022-11-17 10:23:01 -05:00
|
|
|
version.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
description.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
homepage.workspace = true
|
|
|
|
documentation.workspace = true
|
2022-11-24 11:38:00 -05:00
|
|
|
repository.workspace = true
|
2020-07-10 14:15:41 -04:00
|
|
|
|
2020-09-02 11:42:48 -04:00
|
|
|
[lib]
|
|
|
|
name = "lemmy_utils"
|
|
|
|
path = "src/lib.rs"
|
2021-02-25 14:43:39 -05:00
|
|
|
doctest = false
|
2020-09-02 11:42:48 -04:00
|
|
|
|
2023-07-10 10:50:07 -04:00
|
|
|
[features]
|
|
|
|
full = ["ts-rs"]
|
|
|
|
|
2020-07-10 14:15:41 -04:00
|
|
|
[dependencies]
|
2022-11-17 10:23:01 -05:00
|
|
|
regex = { workspace = true }
|
|
|
|
chrono = { 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 }
|
|
|
|
typed-builder = { workspace = true }
|
|
|
|
percent-encoding = { workspace = true }
|
|
|
|
tokio = { workspace = true }
|
2023-07-10 09:00:55 -04:00
|
|
|
openssl = "0.10.55"
|
2023-06-15 05:37:05 -04:00
|
|
|
html2text = "0.6.0"
|
2023-07-10 09:00:55 -04:00
|
|
|
deser-hjson = "1.2.0"
|
2023-06-15 05:37:05 -04:00
|
|
|
smart-default = "0.7.1"
|
2023-07-10 09:00:55 -04:00
|
|
|
jsonwebtoken = "8.3.0"
|
|
|
|
lettre = { version = "0.10.4", features = ["tokio1", "tokio1-native-tls"] }
|
2023-07-05 13:08:53 -04:00
|
|
|
markdown-it = "0.5.1"
|
2023-06-15 05:37:05 -04:00
|
|
|
totp-rs = { version = "5.0.2", features = ["gen_secret", "otpauth"] }
|
2023-07-10 10:50:07 -04:00
|
|
|
ts-rs = { workspace = true, optional = true }
|
2023-07-10 09:00:55 -04:00
|
|
|
enum-map = "2.6"
|
2022-03-24 11:25:51 -04:00
|
|
|
|
2023-02-23 09:51:33 -05:00
|
|
|
[dev-dependencies]
|
|
|
|
reqwest = { workspace = true }
|
|
|
|
|
2022-03-24 11:25:51 -04:00
|
|
|
[build-dependencies]
|
2023-07-10 09:00:55 -04:00
|
|
|
rosetta-build = "0.1.3"
|