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