chore: deps cleanup

core down to 180 crates!! theres probably still a lot to be improved but
eh its a start!
This commit is contained in:
əlemi 2024-07-15 20:19:27 +02:00
parent 799b958543
commit 88b87c0b20
Signed by: alemi
GPG key ID: A4895B84D311642C
8 changed files with 186 additions and 206 deletions

374
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,7 @@ members = [
"web",
"utils/httpsign",
"utils/mdhtml",
"utils/uriproxy"
"utils/uriproxy",
]
[package]
@ -31,11 +31,11 @@ path = "main.rs"
toml = "0.8"
tracing = "0.1"
tracing-subscriber = "0.3"
sea-orm = "0.12"
clap = { version = "4.5", features = ["derive"] }
signal-hook = "0.3"
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
tokio = { version = "1.35", features = ["full"] } # TODO slim this down
sea-orm = { version = "0.12", features = ["sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls"] }
futures = "0.3"
upub = { path = "upub/core" }

View file

@ -18,7 +18,6 @@ chrono = { version = "0.4", features = ["serde"] }
thiserror = "1"
paste = "1.0"
tracing = "0.1"
async-trait = "0.1"
serde_json = { version = "1", optional = true }
sea-orm = { version = "0.12", optional = true, default-features = false }
reqwest = { version = "0.12", features = ["json"], optional = true }

View file

@ -20,6 +20,6 @@ uuid = { version = "1.8", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
openssl = "0.10" # TODO handle pubkeys with a smaller crate
clap = { version = "4.5", features = ["derive"] }
sea-orm = { version = "0.12", features = ["macros", "sqlx-sqlite", "runtime-tokio-rustls"] }
sea-orm = "0.12"
futures = "0.3"
mdhtml = { path = "../../utils/mdhtml/" }

View file

@ -21,7 +21,6 @@ openssl = "0.10" # TODO handle pubkeys with a smaller crate
base64 = "0.22"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1.8", features = ["v4"] }
regex = "1.10"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_default = "0.1"
@ -29,10 +28,10 @@ serde-inline-default = "0.2"
toml = "0.8"
uriproxy = { path = "../../utils/uriproxy" }
httpsign = { path = "../../utils/httpsign/" }
jsonvec = { path = "../../utils/jsonvec/" }
jrd = "0.1"
tracing = "0.1"
tokio = { version = "1.35", features = ["full"] } # TODO slim this down
sea-orm = { version = "0.12", features = ["macros", "sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls"] }
sea-orm = { version = "0.12", features = ["macros"] }
reqwest = { version = "0.12", features = ["json"] }
apb = { path = "../../apb", features = ["unstructured", "orm", "did-core", "activitypub-miscellaneous-terms", "activitypub-fe", "activitypub-counters", "litepub", "ostatus", "toot"] }
# nodeinfo = "0.0.2" # the version on crates.io doesn't re-export necessary types to build the struct!!!

View file

@ -13,10 +13,7 @@ readme = "README.md"
[dependencies]
thiserror = "1"
rand = "0.8"
sha2 = "0.10"
sha256 = "1.5" # TODO ughhh
hmac = "0.12"
base64 = "0.22"
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

View file

@ -16,12 +16,10 @@ tracing = "0.1"
async-trait = "0.1"
serde_json = "1"
sea-orm = "0.12"
jrd = "0.1"
regex = "1.10"
chrono = { version = "0.4", features = ["serde"] }
tokio = { version = "1.35", features = ["full"] } # TODO slim this down
reqwest = { version = "0.12", features = ["json"] }
apb = { path = "../../apb", features = ["unstructured", "orm", "activitypub-fe", "activitypub-counters", "litepub", "ostatus", "toot"] }
httpsign = { path = "../../utils/httpsign/" }
mdhtml = { path = "../../utils/mdhtml/" }
upub = { path = "../core/" }

View file

@ -12,7 +12,6 @@ repository = "https://git.alemi.dev/upub.git"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-trait = "0.1"
lazy_static = "1.4"
tracing = "0.1"
tracing-subscriber = "0.3"