2023-03-31 03:58:28 +02:00
|
|
|
[package]
|
2024-02-12 15:14:23 +01:00
|
|
|
name = "backend-rs"
|
2024-07-09 11:25:32 +02:00
|
|
|
license = "AGPL-3.0-only"
|
2024-07-09 11:36:45 +02:00
|
|
|
version = "0.0.0"
|
|
|
|
|
|
|
|
edition = { workspace = true }
|
|
|
|
rust-version = { workspace = true }
|
2023-03-31 03:58:28 +02:00
|
|
|
|
2023-06-02 14:48:12 +02:00
|
|
|
[features]
|
2023-06-02 18:19:36 +02:00
|
|
|
default = []
|
2024-06-06 10:10:41 +02:00
|
|
|
napi = ["dep:napi", "dep:napi-derive", "dep:napi-build"]
|
2023-05-25 08:34:48 +02:00
|
|
|
|
2023-03-31 03:58:28 +02:00
|
|
|
[lib]
|
2023-06-02 14:48:12 +02:00
|
|
|
crate-type = ["cdylib", "lib"]
|
2023-03-31 03:58:28 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2024-06-11 18:49:22 +02:00
|
|
|
macros = { workspace = true }
|
2024-04-11 21:25:36 +02:00
|
|
|
|
2024-05-30 12:09:32 +02:00
|
|
|
napi = { workspace = true, optional = true, features = ["chrono_date", "napi4", "serde-json", "tokio_rt"] }
|
2024-04-11 20:24:13 +02:00
|
|
|
napi-derive = { workspace = true, optional = true }
|
2023-06-02 14:48:12 +02:00
|
|
|
|
2024-04-14 07:41:01 +02:00
|
|
|
argon2 = { workspace = true, features = ["std"] }
|
2024-05-18 01:14:38 +02:00
|
|
|
async-trait = { workspace = true }
|
2024-04-11 20:24:13 +02:00
|
|
|
basen = { workspace = true }
|
2024-05-18 01:14:38 +02:00
|
|
|
bb8 = { workspace = true }
|
2024-05-30 12:09:32 +02:00
|
|
|
bcrypt = { workspace = true, features = ["std"] }
|
2024-04-11 20:24:13 +02:00
|
|
|
chrono = { workspace = true }
|
|
|
|
cuid2 = { workspace = true }
|
2024-04-14 22:13:35 +02:00
|
|
|
emojis = { workspace = true }
|
2024-07-29 00:30:57 +02:00
|
|
|
futures-util = { workspace = true, features = ["io"] }
|
2024-07-29 16:10:28 +02:00
|
|
|
identicon-rs = { workspace = true }
|
2024-06-11 03:23:21 +02:00
|
|
|
idna = { workspace = true, features = ["std", "compiled_data"] }
|
2024-05-30 12:09:32 +02:00
|
|
|
image = { workspace = true, features = ["avif", "bmp", "gif", "ico", "jpeg", "png", "tiff", "webp"] }
|
2024-07-20 22:19:20 +02:00
|
|
|
isahc = { workspace = true, features = ["http2", "text-decoding", "json"] }
|
2024-04-25 12:06:16 +02:00
|
|
|
nom-exif = { workspace = true }
|
2024-04-11 20:24:13 +02:00
|
|
|
once_cell = { workspace = true }
|
2024-04-26 00:13:02 +02:00
|
|
|
openssl = { workspace = true, features = ["vendored"] }
|
2024-04-11 20:24:13 +02:00
|
|
|
rand = { workspace = true }
|
2024-05-30 12:09:32 +02:00
|
|
|
redis = { workspace = true, features = ["streams", "tokio-comp"] }
|
2024-04-11 22:35:18 +02:00
|
|
|
regex = { workspace = true }
|
2024-04-22 14:56:38 +02:00
|
|
|
rmp-serde = { workspace = true }
|
2024-05-30 12:09:32 +02:00
|
|
|
sea-orm = { workspace = true, features = ["macros", "runtime-tokio-rustls", "sqlx-postgres", "with-chrono", "with-json"] }
|
2024-04-11 20:24:13 +02:00
|
|
|
serde = { workspace = true, features = ["derive"] }
|
|
|
|
serde_json = { workspace = true }
|
2024-04-12 07:25:27 +02:00
|
|
|
serde_yaml = { workspace = true }
|
2024-05-15 09:26:46 +02:00
|
|
|
sysinfo = { workspace = true }
|
2024-04-11 20:24:13 +02:00
|
|
|
thiserror = { workspace = true }
|
2024-05-30 12:09:32 +02:00
|
|
|
tokio = { workspace = true, features = ["fs", "io-std", "io-util", "macros", "process", "rt-multi-thread", "signal", "sync", "time"] }
|
2024-04-24 19:18:37 +02:00
|
|
|
tracing = { workspace = true }
|
2024-05-30 12:09:32 +02:00
|
|
|
tracing-subscriber = { workspace = true, features = ["ansi"] }
|
2024-04-12 10:13:57 +02:00
|
|
|
url = { workspace = true }
|
2024-04-12 07:38:44 +02:00
|
|
|
urlencoding = { workspace = true }
|
2024-07-29 11:11:33 +02:00
|
|
|
uuid = { workspace = true, features = ["v4", "fast-rng"] }
|
2024-05-30 12:09:32 +02:00
|
|
|
web-push = { workspace = true, features = ["isahc-client"] }
|
2024-07-20 22:19:20 +02:00
|
|
|
zhconv = { workspace = true }
|
2023-06-02 14:48:12 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-05-30 12:09:32 +02:00
|
|
|
pretty_assertions = { workspace = true, features = ["std"] }
|
2024-05-18 00:36:52 +02:00
|
|
|
tokio-test = { workspace = true }
|
2023-03-31 03:58:28 +02:00
|
|
|
|
|
|
|
[build-dependencies]
|
2024-06-06 10:10:41 +02:00
|
|
|
napi-build = { workspace = true, optional = true }
|