- Added a new router for handling well-known endpoints, specifically WebFinger. - Implemented the `webfinger` function to respond to WebFinger queries. - Created a new route for WebFinger in the router. - Refactored user retrieval logic to support both user ID and username in a single endpoint. - Updated user router to use the new `get_user_by_param` function. - Added tests for WebFinger discovery and ActivityPub user actor endpoint. - Updated dependencies in Cargo.toml files to include necessary libraries.
8 lines
82 B
Rust
8 lines
82 B
Rust
mod activitypub;
|
|
mod auth;
|
|
mod feed;
|
|
mod follow;
|
|
mod main;
|
|
mod thought;
|
|
mod user;
|