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