- Deleted the `federation.rs` module and its associated functionality for federating thoughts to followers. - Removed the `well_known.rs` module and its WebFinger discovery functionality. - Eliminated references to federation in the `thought.rs` router and removed the spawning of background tasks for federating thoughts. - Deleted tests related to WebFinger and user inbox interactions in `activitypub.rs`. - Updated `Cargo.toml` to remove the `activitypub_federation` dependency.
43 lines
817 B
TOML
43 lines
817 B
TOML
[package]
|
|
name = "api"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "api"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
axum = { workspace = true, features = ["macros", "query"] }
|
|
serde = { workspace = true }
|
|
tower = { workspace = true }
|
|
tracing = { workspace = true }
|
|
validator = { workspace = true, features = ["derive"] }
|
|
bcrypt = "0.17.1"
|
|
jsonwebtoken = "9.3.1"
|
|
once_cell = "1.21.3"
|
|
|
|
|
|
# db
|
|
sea-orm = { workspace = true }
|
|
|
|
# doc
|
|
utoipa = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
# local dependencies
|
|
app = { path = "../app" }
|
|
models = { path = "../models" }
|
|
reqwest = { version = "0.12.23", features = ["json"] }
|
|
|
|
|
|
tower-http = { version = "0.6.6", features = ["fs", "cors"] }
|
|
tower-cookies = "0.11.0"
|
|
anyhow = "1.0.98"
|
|
dotenvy = "0.15.7"
|
|
|
|
[dev-dependencies]
|