2024-05-31 04:07:39 +02:00
|
|
|
[package]
|
|
|
|
name = "upub"
|
2025-01-15 01:37:28 +01:00
|
|
|
version = "0.4.3"
|
2024-05-31 04:07:39 +02:00
|
|
|
edition = "2021"
|
|
|
|
authors = [ "alemi <me@alemi.dev>" ]
|
|
|
|
description = "core inner workings of upub"
|
|
|
|
license = "AGPL-3.0"
|
|
|
|
repository = "https://git.alemi.dev/upub.git"
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
|
|
|
[dependencies]
|
2025-01-09 18:10:27 +01:00
|
|
|
thiserror = "2.0"
|
2024-06-06 07:10:23 +02:00
|
|
|
async-recursion = "1.1"
|
2024-06-06 02:14:35 +02:00
|
|
|
async-trait = "0.1"
|
2024-07-15 02:57:32 +02:00
|
|
|
sha256 = "1.5" # TODO get rid of this and use directly sha2!!
|
|
|
|
sha2 = "0.10"
|
|
|
|
hmac = "0.12"
|
2024-05-31 04:07:39 +02:00
|
|
|
openssl = "0.10" # TODO handle pubkeys with a smaller crate
|
|
|
|
base64 = "0.22"
|
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2025-01-09 18:10:27 +01:00
|
|
|
uuid = { version = "1.11", features = ["v4"] }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2024-09-19 15:56:22 +02:00
|
|
|
serde_default = "0.2"
|
2024-05-31 04:07:39 +02:00
|
|
|
serde-inline-default = "0.2"
|
|
|
|
toml = "0.8"
|
2025-01-20 23:52:36 +01:00
|
|
|
uriproxy = { path = "../utils/uriproxy" }
|
|
|
|
httpsign = { path = "../utils/httpsign/" }
|
|
|
|
mdhtml = { path = "../utils/mdhtml/" }
|
2024-05-31 04:07:39 +02:00
|
|
|
jrd = "0.1"
|
|
|
|
tracing = "0.1"
|
2025-01-09 18:10:27 +01:00
|
|
|
sea-orm = { version = "1.1", features = ["macros"] }
|
2024-05-31 04:07:39 +02:00
|
|
|
reqwest = { version = "0.12", features = ["json"] }
|
2025-01-20 23:52:36 +01:00
|
|
|
apb = { path = "../apb", features = ["unstructured", "orm", "did-core", "activitypub-miscellaneous-terms", "activitypub-fe", "activitypub-counters", "litepub", "ostatus", "toot"] }
|
2024-05-31 04:07:39 +02:00
|
|
|
# nodeinfo = "0.0.2" # the version on crates.io doesn't re-export necessary types to build the struct!!!
|
|
|
|
nodeinfo = { git = "https://codeberg.org/thefederationinfo/nodeinfo-rs", rev = "e865094804" }
|